filter working titles, one more World-wide/Internaltional
This commit is contained in:
parent
5b9cb279ba
commit
07e1a36ba9
1 changed files with 4 additions and 3 deletions
|
@ -436,9 +436,10 @@ class Imdb(SiteParser):
|
||||||
if title not in alt:
|
if title not in alt:
|
||||||
alt[title] = []
|
alt[title] = []
|
||||||
for c in t[0].split('/'):
|
for c in t[0].split('/'):
|
||||||
c = c.replace('International', '').split('(')[0].strip()
|
if not '(working title)' in c:
|
||||||
if c:
|
c = c.replace('International', '').replace('World-wide', '').split('(')[0].strip()
|
||||||
alt[title].append(c)
|
if c:
|
||||||
|
alt[title].append(c)
|
||||||
self['alternativeTitles'] = []
|
self['alternativeTitles'] = []
|
||||||
for t in sorted(alt, lambda a, b: cmp(sorted(alt[a]), sorted(alt[b]))):
|
for t in sorted(alt, lambda a, b: cmp(sorted(alt[a]), sorted(alt[b]))):
|
||||||
if alt[t]:
|
if alt[t]:
|
||||||
|
|
Loading…
Reference in a new issue