From c54bcc0738dbfcf5de3321afa6586bbc64f63bc3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 18 Sep 2008 10:18:46 +0200 Subject: [PATCH] no pro link --- oxweb/imdb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oxweb/imdb.py b/oxweb/imdb.py index 0d4f1dd..7665e5a 100644 --- a/oxweb/imdb.py +++ b/oxweb/imdb.py @@ -105,6 +105,8 @@ def getMovieInfo(imdbId): html_title = findRe(data, '
(.*?)
') if not html_title: html_title = findRe(data, '(.*?)') + else: + html_title = html_title.split('')[0] if html_title: html_title = html_title.replace('
', ' ').replace(' ', ' ') title = decodeHtml(html_title)