space in title
This commit is contained in:
parent
997076fc24
commit
92b8009a62
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ class IMDb:
|
||||||
html_title = soup('title')
|
html_title = soup('title')
|
||||||
if html_title:
|
if html_title:
|
||||||
html_title = str(html_title[0])
|
html_title = str(html_title[0])
|
||||||
|
html_title = html_title.replace('<br />', ' ').replace(' ', ' ')
|
||||||
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)
|
||||||
|
|
Loading…
Reference in a new issue