space in title

This commit is contained in:
j 2007-07-29 20:46:03 +00:00
parent 997076fc24
commit 92b8009a62

View file

@ -168,6 +168,7 @@ class IMDb:
html_title = soup('title')
if html_title:
html_title = str(html_title[0])
html_title = html_title.replace('<br />', ' ').replace(' ', ' ')
title = stripTags(html_title)
title = re.sub('\(\d\d\d\d\)', '', title)
title = re.sub('\(\d\d\d\d/I*\)', '', title)