update imdb parser, ticket #3068
This commit is contained in:
parent
2d4bf9212a
commit
e480b8dcbf
2 changed files with 119 additions and 184 deletions
|
|
@ -33,7 +33,7 @@ class SiteParser(dict):
|
|||
return "%s%s" % (self.baseUrl, page)
|
||||
|
||||
def read_url(self, url, timeout):
|
||||
if not url in self._cache:
|
||||
if url not in self._cache:
|
||||
self._cache[url] = read_url(url, timeout=timeout, unicode=True)
|
||||
return self._cache[url]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue