title refinement(fix)

This commit is contained in:
j 2007-06-28 11:01:00 +00:00
parent 8cf1f86184
commit 464564149f

View file

@ -160,7 +160,7 @@ class IMDb:
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()