diff --git a/ox/web/imdb.py b/ox/web/imdb.py index ad97bf4..a9e9e2f 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -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: