diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index e66f3d3..a24f39a 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -173,6 +173,8 @@ class IMDb: title = re.sub('\(\d\d\d\d/I\)', '', title) for t in ('TV-Series', '(mini)', '(VG)', '(V)', '(TV)'): title = title.replace(t, '') + if title.find(u'\xa0') > -1: + title = title[:title.find(u'\xa0')] title = title.strip() if title.startswith('"') and title.endswith('"'): title = title[1:-1]