ignore additional alternative titles with the same key
This commit is contained in:
parent
c804b50ea2
commit
356787b37f
1 changed files with 2 additions and 0 deletions
|
@ -357,6 +357,8 @@ class Imdb(SiteParser):
|
|||
|
||||
|
||||
def cleanup_title(title):
|
||||
if isinstance(title, list):
|
||||
title = title[0]
|
||||
if title.startswith('"') and title.endswith('"'):
|
||||
title = title[1:-1]
|
||||
if title.startswith("'") and title.endswith("'"):
|
||||
|
|
Loading…
Reference in a new issue