fight geolocalization

This commit is contained in:
j 2020-02-18 16:59:08 +01:00
parent 09e0a521af
commit 926b8ad255

View file

@ -379,6 +379,9 @@ class Imdb(SiteParser):
if 'alternativeTitles' in self:
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']:
title = cleanup_title(t[1])
if title.lower() not in (self.get('title', '').lower(), self.get('originalTitle', '').lower()):