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):