From 997076fc243aefb1f368c07799d1b0b829626bc4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 26 Jul 2007 13:52:45 +0000 Subject: [PATCH] any number of (1234/III) I's --- scrapeit/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index a24f39a..954622c 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -170,7 +170,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, '') if title.find(u'\xa0') > -1: