From 92b8009a6256a6911ab9233a34d323c6a70b880a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 29 Jul 2007 20:46:03 +0000 Subject: [PATCH] space in title --- scrapeit/imdb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapeit/imdb.py b/scrapeit/imdb.py index 954622c..db4701f 100644 --- a/scrapeit/imdb.py +++ b/scrapeit/imdb.py @@ -168,6 +168,7 @@ class IMDb: html_title = soup('title') if html_title: html_title = str(html_title[0]) + html_title = html_title.replace('
', ' ').replace(' ', ' ') title = stripTags(html_title) title = re.sub('\(\d\d\d\d\)', '', title) title = re.sub('\(\d\d\d\d/I*\)', '', title)