some reviews get onclick foo now
This commit is contained in:
parent
1bd6615f16
commit
4ae7f6b382
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ def getMovieKeywords(imdbId):
|
||||||
def getMovieExternalReviews(imdbId):
|
def getMovieExternalReviews(imdbId):
|
||||||
url = "%sexternalreviews" % getUrlBase(imdbId)
|
url = "%sexternalreviews" % getUrlBase(imdbId)
|
||||||
data = readUrlUnicode(url)
|
data = readUrlUnicode(url)
|
||||||
_reviews = re.compile('<li><a href="(.*?)">(.*?)</a></li>').findall(data)
|
_reviews = re.compile('<li><a href="(.*?)".*?>(.*?)</a></li>').findall(data)
|
||||||
reviews = {}
|
reviews = {}
|
||||||
for r in _reviews:
|
for r in _reviews:
|
||||||
reviews[r[0]] = r[1]
|
reviews[r[0]] = r[1]
|
||||||
|
|
Loading…
Reference in a new issue