get unicode page
This commit is contained in:
parent
553d50aec7
commit
8a124fca9d
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ def getRawMovieData(imdbId):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def getMovieInfo(imdbId):
|
def getMovieInfo(imdbId):
|
||||||
data = getUrl(getUrlBase(imdbId))
|
data = getUrlUnicode(getUrlBase(imdbId))
|
||||||
soup = BeautifulSoup(data)
|
soup = BeautifulSoup(data)
|
||||||
info = dict()
|
info = dict()
|
||||||
info['poster'] = findRe(data, 'name="poster".*?<img .*?src="(.*?)"')
|
info['poster'] = findRe(data, 'name="poster".*?<img .*?src="(.*?)"')
|
||||||
|
|
Loading…
Reference in a new issue