cleanup summary
This commit is contained in:
parent
3e7b463ac8
commit
23ea669b7d
1 changed files with 2 additions and 0 deletions
|
@ -377,6 +377,8 @@ class Imdb(SiteParser):
|
|||
if 'releaseDate' in self:
|
||||
if isinstance(self['releaseDate'], list):
|
||||
self['releaseDate'] = min(self['releaseDate'])
|
||||
if 'summary' in self:
|
||||
self['summary'] = self['summary'].split('</p')[0].strip()
|
||||
|
||||
class ImdbCombined(Imdb):
|
||||
def __init__(self, id, timeout=-1):
|
||||
|
|
Loading…
Reference in a new issue