fight geolocalization
This commit is contained in:
parent
09e0a521af
commit
926b8ad255
1 changed files with 3 additions and 0 deletions
|
@ -379,6 +379,9 @@ class Imdb(SiteParser):
|
||||||
|
|
||||||
if 'alternativeTitles' in self:
|
if 'alternativeTitles' in self:
|
||||||
alt = {}
|
alt = {}
|
||||||
|
for t in self['alternativeTitles']:
|
||||||
|
if t[0].strip() in ('World-wide (English title)', ):
|
||||||
|
self['title'] = cleanup_title(t[1])
|
||||||
for t in self['alternativeTitles']:
|
for t in self['alternativeTitles']:
|
||||||
title = cleanup_title(t[1])
|
title = cleanup_title(t[1])
|
||||||
if title.lower() not in (self.get('title', '').lower(), self.get('originalTitle', '').lower()):
|
if title.lower() not in (self.get('title', '').lower(), self.get('originalTitle', '').lower()):
|
||||||
|
|
Loading…
Reference in a new issue