get unicode page

This commit is contained in:
j 2008-05-08 20:04:24 +02:00
parent 553d50aec7
commit 8a124fca9d

View file

@ -58,7 +58,7 @@ def getRawMovieData(imdbId):
return data
def getMovieInfo(imdbId):
data = getUrl(getUrlBase(imdbId))
data = getUrlUnicode(getUrlBase(imdbId))
soup = BeautifulSoup(data)
info = dict()
info['poster'] = findRe(data, 'name="poster".*?<img .*?src="(.*?)"')