Bug fix: removed access to non-defined variable.
This commit is contained in:
parent
a6af890c10
commit
8758f5c8e0
|
@ -98,7 +98,6 @@ class ExtensionCrawler:
|
||||||
|
|
||||||
def google_dos_protection(self,name,request):
|
def google_dos_protection(self,name,request):
|
||||||
sleep(randint(1,3)*.5)
|
sleep(randint(1,3)*.5)
|
||||||
print ("waiting: "+str(wait))
|
|
||||||
if request.status_code == 503:
|
if request.status_code == 503:
|
||||||
if 0 < request.text.find('CAPTCHA'):
|
if 0 < request.text.find('CAPTCHA'):
|
||||||
print (" Warning: Captcha ("+name+")")
|
print (" Warning: Captcha ("+name+")")
|
||||||
|
|
Loading…
Reference in New Issue