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()]
|
||||
series = Imdb(self['series'])
|
||||
|
||||
if not 'creator' in series and 'director' in series:
|
||||
series['creator'] = series['director']
|
||||
|
||||
for key in ['creator', 'year', 'country']:
|
||||
if key in series:
|
||||
self[key] = series[key]
|
||||
|
||||
if not 'director' in self and 'director' in series:
|
||||
self['director'] = series['director']
|
||||
|
||||
if 'originalTitle' in self:
|
||||
del self['originalTitle']
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue