From 09b8ec6b2c4b59c62ef0ce7227135fb8b07feae8 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 15 Jul 2009 17:39:00 +0200 Subject: [PATCH] posters --- oxweb/wikipedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxweb/wikipedia.py b/oxweb/wikipedia.py index c68ef95..ed60906 100644 --- a/oxweb/wikipedia.py +++ b/oxweb/wikipedia.py @@ -85,7 +85,7 @@ def getMovieData(wikipediaUrl): def getImageUrl(name): data = getUrlUnicode('http://en.wikipedia.org/wiki/Image:' + name) - url = findRe(data, 'href="(http://upload.wikimedia.org/.*?%s)"' % name) + url = findRe(data, 'href="(http://upload.wikimedia.org/.*?)"') return url def getPosterUrl(wikipediaUrl):