strip whitespace
This commit is contained in:
parent
7a8609f5cf
commit
1522f870b7
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class Imdb(SiteParser):
|
|||
if title.startswith('"') and title.endswith('"'):
|
||||
title = title[1:-1]
|
||||
title = re.sub('\(\#[.\d]+\)', '', title)
|
||||
return title
|
||||
return title.strip()
|
||||
|
||||
for t in ('title', 'englishTitle', 'originalTitle'):
|
||||
if t in self:
|
||||
|
|
Loading…
Reference in a new issue