one more place with xa0
This commit is contained in:
parent
35e8958efd
commit
c862d7f50b
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ class IMDb:
|
|||
soup = BeautifulSoup(data)
|
||||
cast = soup('table', {'class': 'cast'})
|
||||
if cast:
|
||||
cast = str(cast[0])
|
||||
cast = str(cast[0]).replace(u'\xa0', ' ')
|
||||
names = re.compile('<a href="/name/nm.*?/">(.*?)</a>.*?</td><td class="char">(.*?)</td></tr>').findall(cast)
|
||||
for name in names:
|
||||
real_name = name[0]
|
||||
|
|
Loading…
Reference in a new issue