any number of (1234/III) I's

This commit is contained in:
j 2007-07-26 13:52:45 +00:00
parent 547353e484
commit 997076fc24

View file

@ -170,7 +170,7 @@ class IMDb:
html_title = str(html_title[0]) html_title = str(html_title[0])
title = stripTags(html_title) title = stripTags(html_title)
title = re.sub('\(\d\d\d\d\)', '', title) title = re.sub('\(\d\d\d\d\)', '', title)
title = re.sub('\(\d\d\d\d/I\)', '', title) title = re.sub('\(\d\d\d\d/I*\)', '', title)
for t in ('TV-Series', '(mini)', '(VG)', '(V)', '(TV)'): for t in ('TV-Series', '(mini)', '(VG)', '(V)', '(TV)'):
title = title.replace(t, '') title = title.replace(t, '')
if title.find(u'\xa0') > -1: if title.find(u'\xa0') > -1: