From 93f21420ba020274a7d452be144ed97f3042f726 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 28 Jun 2007 11:04:30 +0000 Subject: [PATCH] remove tvseries "" --- scrapeit/imdb.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index f1211b1..84fd762 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -162,7 +162,10 @@ class IMDb: title = re.sub('\(\d\d\d\d/I\)', '', title) for t in ('TV-Series', '(mini)', '(VG)', '(V)', '(TV)'): 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): year = ''