more decodeHtml
This commit is contained in:
parent
66fe37b4ce
commit
23656cde3e
1 changed files with 2 additions and 2 deletions
|
@ -498,7 +498,7 @@ class IMDb:
|
|||
parsed_value = parsed_value.replace(director, '')
|
||||
if parsed_value.startswith("'s"):
|
||||
parsed_value = parsed_value[2:].strip()
|
||||
parsed_value = decodeHtml(parsed_value.strip)()
|
||||
parsed_value = decodeHtml(parsed_value.strip())
|
||||
else:
|
||||
print value
|
||||
parsed_value = value
|
||||
|
@ -614,7 +614,7 @@ class IMDb:
|
|||
credits = {}
|
||||
|
||||
def getNames(creditList):
|
||||
return [stripTags(c[0]) for c in creditList]
|
||||
return [stripTags(decodeHtml(c[0])) for c in creditList]
|
||||
|
||||
credits['director'] = getNames(raw_credits.get('directors', ''))
|
||||
credits['writer'] = getNames(raw_credits.get('writers', ''))
|
||||
|
|
Loading…
Reference in a new issue