From 3d8fb83063ee55c25605c524e75531c085383630 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 27 Jun 2007 12:27:29 +0000 Subject: [PATCH] TV/V/VG can go --- scrapeit/imdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index f71bcd6..628eed7 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -159,6 +159,9 @@ class IMDb: html_title = str(html_title[0]) title = stripTags(html_title) title = re.sub('\(\d\d\d\d\)', '', title) + title = re.sub('\(TV\)', '', title) + title = re.sub('\(V\)', '', title) + title = re.sub('\(VG\)', '', title) return title.strip() def parseYear(self):