strip whitespace

This commit is contained in:
j 2012-09-14 11:31:29 +02:00
parent 7a8609f5cf
commit 1522f870b7

View file

@ -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: