creator exists only for series
This commit is contained in:
parent
2a04bb8a74
commit
ccab080e3f
1 changed files with 4 additions and 1 deletions
|
|
@ -344,7 +344,10 @@ class Imdb(SiteParser):
|
||||||
self[key] = filter(lambda x: x.lower() != 'home', self[key])
|
self[key] = filter(lambda x: x.lower() != 'home', self[key])
|
||||||
#0092999
|
#0092999
|
||||||
if '_director' in self:
|
if '_director' in self:
|
||||||
self['creator'] = self.pop('_director')
|
if 'series' in self:
|
||||||
|
self['creator'] = self.pop('_director')
|
||||||
|
else:
|
||||||
|
del self['_director']
|
||||||
|
|
||||||
if 'series' in self:
|
if 'series' in self:
|
||||||
if 'episodeTitle' in self:
|
if 'episodeTitle' in self:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue