more summary fixes
This commit is contained in:
parent
5a61dea925
commit
d1a5613f3f
1 changed files with 2 additions and 0 deletions
|
@ -612,6 +612,8 @@ class Imdb(SiteParser):
|
|||
if self['releasedate'] == 'x':
|
||||
del self['releasedate']
|
||||
if 'summary' in self:
|
||||
if isinstance(self['summary'], list):
|
||||
self['summary'] = self['summary'][0]
|
||||
self['summary'] = self['summary'].split('</p')[0].strip()
|
||||
|
||||
class ImdbCombined(Imdb):
|
||||
|
|
Loading…
Reference in a new issue