From 464564149fc5d6ef54a4b842792b779bb5b934f2 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 28 Jun 2007 11:01:00 +0000 Subject: [PATCH] title refinement(fix) --- scrapeit/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index cb202f1..2cc8c21 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -160,7 +160,7 @@ class IMDb: title = stripTags(html_title) title = re.sub('\(\d\d\d\d\)', '', 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, '') return title.strip()