Mas cambios en deployer.
This commit is contained in:
commit
906d8b5cd9
4 changed files with 2 additions and 5 deletions
|
|
@ -77,7 +77,7 @@ class CapturingTask:
|
|||
self._check_data()
|
||||
return
|
||||
|
||||
elif attack.get_status_code() == 301:
|
||||
elif refresher.dead_ad_checker(self.html):
|
||||
self._update_status('Dead ad')
|
||||
return
|
||||
else:
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -13,13 +13,10 @@ class Geocoder:
|
|||
def start(self):
|
||||
|
||||
while True:
|
||||
sleep(1)
|
||||
|
||||
print("Exists: {}".format(capturas_interface.not_geocoded_captura_exists()))
|
||||
sleep(120)
|
||||
|
||||
if capturas_interface.not_geocoded_captura_exists():
|
||||
ad_data = capturas_interface.get_not_geocoded_captura()
|
||||
print(ad_data)
|
||||
else:
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue