remove tvseries ""
This commit is contained in:
parent
9f12c3738a
commit
93f21420ba
1 changed files with 4 additions and 1 deletions
|
@ -162,7 +162,10 @@ class IMDb:
|
||||||
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()
|
title = title.strip()
|
||||||
|
if title.startswith('"') and title.endswith('"'):
|
||||||
|
title = title[1:-1]
|
||||||
|
return title
|
||||||
|
|
||||||
def parseYear(self):
|
def parseYear(self):
|
||||||
year = ''
|
year = ''
|
||||||
|
|
Loading…
Reference in a new issue