ignore additional alternative titles with the same key

This commit is contained in:
j 2019-04-04 11:07:31 +02:00
parent c804b50ea2
commit 356787b37f

View file

@ -357,6 +357,8 @@ class Imdb(SiteParser):
def cleanup_title(title): def cleanup_title(title):
if isinstance(title, list):
title = title[0]
if title.startswith('"') and title.endswith('"'): if title.startswith('"') and title.endswith('"'):
title = title[1:-1] title = title[1:-1]
if title.startswith("'") and title.endswith("'"): if title.startswith("'") and title.endswith("'"):