title have special space too, good to cut out year etc
This commit is contained in:
parent
3730587937
commit
547353e484
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ class IMDb:
|
|||
title = re.sub('\(\d\d\d\d/I\)', '', title)
|
||||
for t in ('TV-Series', '(mini)', '(VG)', '(V)', '(TV)'):
|
||||
title = title.replace(t, '')
|
||||
if title.find(u'\xa0') > -1:
|
||||
title = title[:title.find(u'\xa0')]
|
||||
title = title.strip()
|
||||
if title.startswith('"') and title.endswith('"'):
|
||||
title = title[1:-1]
|
||||
|
|
Loading…
Reference in a new issue