diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 2add14f..4cfd419 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -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: