From d0d18b30e2acef1b51f86bd50681f6ceded6572e Mon Sep 17 00:00:00 2001 From: Rolux Date: Mon, 14 Apr 2008 22:24:56 +0200 Subject: [PATCH] fixing bug #428 --- scrapeit/imdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index 8ffadb9..cb86446 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -156,7 +156,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', 'TV-Series', '(mini)', '(VG)', '(V)', '(TV)'): + for t in ('TV series', 'TV-Series', 'TV mini-series', '(mini)', '(VG)', '(V)', '(TV)'): title = title.replace(t, '') if title.find(u'\xa0') > -1: title = title[:title.find(u'\xa0')]