directors are creators
This commit is contained in:
parent
f1fee46126
commit
71abfcc307
1 changed files with 3 additions and 3 deletions
|
@ -353,13 +353,13 @@ class Imdb(SiteParser):
|
||||||
self['episode%s'%key] = self[key.lower()]
|
self['episode%s'%key] = self[key.lower()]
|
||||||
series = Imdb(self['series'])
|
series = Imdb(self['series'])
|
||||||
|
|
||||||
|
if not 'creator' in series and 'director' in series:
|
||||||
|
series['creator'] = series['director']
|
||||||
|
|
||||||
for key in ['creator', 'year', 'country']:
|
for key in ['creator', 'year', 'country']:
|
||||||
if key in series:
|
if key in series:
|
||||||
self[key] = series[key]
|
self[key] = series[key]
|
||||||
|
|
||||||
if not 'director' in self and 'director' in series:
|
|
||||||
self['director'] = series['director']
|
|
||||||
|
|
||||||
if 'originalTitle' in self:
|
if 'originalTitle' in self:
|
||||||
del self['originalTitle']
|
del self['originalTitle']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue