From 23656cde3e540586a9ccdc68ff68f46bc36f9a23 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 16 Jun 2008 14:06:16 +0200 Subject: [PATCH] more decodeHtml --- ox/imdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ox/imdb.py b/ox/imdb.py index 374165a..4ec01ab 100644 --- a/ox/imdb.py +++ b/ox/imdb.py @@ -498,7 +498,7 @@ class IMDb: parsed_value = parsed_value.replace(director, '') if parsed_value.startswith("'s"): parsed_value = parsed_value[2:].strip() - parsed_value = decodeHtml(parsed_value.strip)() + parsed_value = decodeHtml(parsed_value.strip()) else: print value parsed_value = value @@ -614,7 +614,7 @@ class IMDb: credits = {} def getNames(creditList): - return [stripTags(c[0]) for c in creditList] + return [stripTags(decodeHtml(c[0])) for c in creditList] credits['director'] = getNames(raw_credits.get('directors', '')) credits['writer'] = getNames(raw_credits.get('writers', ''))