title refinement(fix)
This commit is contained in:
parent
464564149f
commit
9f12c3738a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue