diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index 0a1aaa4..e66f3d3 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -346,7 +346,9 @@ class IMDb: soup = BeautifulSoup(self.getKeywords()) keywords = [] for key in soup('a', {'href': re.compile('^/keyword/')}): - keywords.append(htmldecode(key.string)) + k = htmldecode(key.string) + k = k.replace(u'\xa0', ' ') + keywords.append(k) self.keywords = keywords return self.keywords