reload all pages, just in case

This commit is contained in:
j 2011-04-20 23:12:31 +02:00
parent f3c78be720
commit cbca12c3d8

View file

@ -240,8 +240,7 @@ class Imdb(SiteParser):
return
if "<p>We're sorry, something went wrong.</p>" in self.readUrlUnicode(url, timeout=-1):
time.sleep(1)
self.readUrlUnicode(url, timeout=0)
super(Imdb, self).__init__(timeout)
super(Imdb, self).__init__(0)
def is_international_title(t):
if 'working title' in t[1].lower(): return False