fixing bug #428
This commit is contained in:
parent
aef0aef3b5
commit
d0d18b30e2
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,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', 'TV-Series', '(mini)', '(VG)', '(V)', '(TV)'):
|
for t in ('TV series', 'TV-Series', 'TV mini-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:
|
||||||
title = title[:title.find(u'\xa0')]
|
title = title[:title.find(u'\xa0')]
|
||||||
|
|
Loading…
Reference in a new issue