From f3eaf4404f9df0c50d9d8c3b10ebb4937fa8c155 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 8 Apr 2010 11:52:44 +0200 Subject: [PATCH] cast and genre cleanup --- oxweb/imdb.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oxweb/imdb.py b/oxweb/imdb.py index f714936..41e420a 100644 --- a/oxweb/imdb.py +++ b/oxweb/imdb.py @@ -84,7 +84,8 @@ def getMovieInfo(imdbId, timeout=-1): for i in re.compile('
(.*?):
(.*?)
')[0] + txt = i[1].split('Writing credits + section = re.compile('''name="(.*?)".*? href="/Glossary''', re.IGNORECASE).findall(g) if section: credits[section[0]] = creditList(g, section[0]) return credits