space is just fine in keywords

This commit is contained in:
j 2007-07-19 15:28:18 +00:00
parent c10645f114
commit 3730587937

View file

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