From 9f12c3738a2a4dd018a7dc53679b2e61ab277ab3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 28 Jun 2007 11:01:57 +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 2cc8c21..f1211b1 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -159,7 +159,7 @@ class IMDb: html_title = str(html_title[0]) title = stripTags(html_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) for t in ('TV-Series', '(mini)', '(VG)', '(V)', '(TV)'): title = title.replace(t, '') return title.strip()