dont return x as release date
This commit is contained in:
parent
1e65f3e478
commit
deaa2bb988
1 changed files with 2 additions and 0 deletions
|
@ -565,6 +565,8 @@ class Imdb(SiteParser):
|
|||
self['releasedate'] = min([
|
||||
parse_date(d) for d in self['releasedate']
|
||||
])
|
||||
if self['releasedate'] == 'x':
|
||||
del self['releasedate']
|
||||
if 'summary' in self:
|
||||
self['summary'] = self['summary'].split('</p')[0].strip()
|
||||
|
||||
|
|
Loading…
Reference in a new issue