use title/originalTitle not title/internationalTitle
This commit is contained in:
parent
073aaa1b32
commit
eaa8b9995f
1 changed files with 4 additions and 0 deletions
|
@ -364,6 +364,10 @@ class Imdb(SiteParser):
|
||||||
if not self['alternativeTitles']:
|
if not self['alternativeTitles']:
|
||||||
del 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 'runtime' in self and self['runtime']:
|
||||||
if 'min' in self['runtime']: base=60
|
if 'min' in self['runtime']: base=60
|
||||||
else: base=1
|
else: base=1
|
||||||
|
|
Loading…
Reference in a new issue