diff --git a/ox/imdb.py b/ox/imdb.py index d957e4d..8c8332d 100644 --- a/ox/imdb.py +++ b/ox/imdb.py @@ -12,7 +12,7 @@ import time from BeautifulSoup import BeautifulSoup import chardet import oxutils -from oxutils import stripTags, htmldecode, findRegexp +from oxutils import stripTags, htmldecode, findRegexp, findString from oxutils.cache import getUrl, getUrlUnicode from oxutils.normalize import normalizeTitle, normalizeImdbId @@ -149,7 +149,7 @@ def getMovieTrailers(imdbId): def getMovieQuotes(imdbId): url = "%s/quotes" % getUrlBase(imdbId) data = getUrlUnicode(url) - quotes = re.compile('(.*?):(.*?)
', re.DOTALL).findall(data) + quotes = re.compile('(.*?):(.*?)
', re.DOTALL).findall(findString(data, '