title refinement(fix)

This commit is contained in:
j 2007-06-28 11:01:57 +00:00
parent 464564149f
commit 9f12c3738a

View file

@ -159,7 +159,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, '')
return title.strip() return title.strip()