use title/originalTitle not title/internationalTitle

This commit is contained in:
j 2012-10-09 14:55:29 +02:00
parent 073aaa1b32
commit eaa8b9995f

View file

@ -364,6 +364,10 @@ class Imdb(SiteParser):
if not self['alternativeTitles']:
del self['alternativeTitles']
if 'internationalTitle' in self:
self['originalTitle'] = self['title']
self['title'] = self.pop('internationalTitle')
if 'runtime' in self and self['runtime']:
if 'min' in self['runtime']: base=60
else: base=1