remove tvseries ""

This commit is contained in:
j 2007-06-28 11:04:30 +00:00
parent 9f12c3738a
commit 93f21420ba

View file

@ -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 = ''