From 1101c6bec6ed85bb8007bb58ed5482c657640010 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 25 Jul 2008 18:09:05 +0200 Subject: [PATCH] thats amg_id --- oxweb/wikipedia.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oxweb/wikipedia.py b/oxweb/wikipedia.py index a08abfe..59fc2c3 100644 --- a/oxweb/wikipedia.py +++ b/oxweb/wikipedia.py @@ -53,8 +53,8 @@ def getMovieData(wikipediaUrl): key = d[0].strip() value = d[1].strip() filmbox[key] = value - if 'amgId' in filmbox: - filmbox['amgId'] = filmbox['amgId'].split('1:')[-1] + if 'amg_id' in filmbox: + filmbox['amg_id'] = filmbox['amg_id'].split('1:')[-1] return filmbox def getImageUrl(name):