Cambios en validacion del parser
This commit is contained in:
parent
98165ce8f0
commit
ed32b15bc1
1 changed files with 4 additions and 1 deletions
|
|
@ -47,7 +47,6 @@ class Capturer:
|
|||
return (datetime.datetime.now() - self.last_try_datetime).total_seconds()
|
||||
|
||||
|
||||
|
||||
class CapturingTask:
|
||||
sleep_time_failed_request = 180
|
||||
|
||||
|
|
@ -84,6 +83,10 @@ class CapturingTask:
|
|||
return
|
||||
|
||||
else:
|
||||
|
||||
print(attack.get_status_code())
|
||||
print(attack.get_response())
|
||||
print(attack.get_text())
|
||||
try:
|
||||
if Refresher.dead_ad_checker(attack.get_text()):
|
||||
self._update_status('Dead ad')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue