This commit is contained in:
j 2009-07-15 17:39:00 +02:00
parent 22b619e1a5
commit 09b8ec6b2c

View file

@ -85,7 +85,7 @@ def getMovieData(wikipediaUrl):
def getImageUrl(name): def getImageUrl(name):
data = getUrlUnicode('http://en.wikipedia.org/wiki/Image:' + 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 return url
def getPosterUrl(wikipediaUrl): def getPosterUrl(wikipediaUrl):