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()
|
self._check_data()
|
||||||
return
|
return
|
||||||
|
|
||||||
elif attack.get_status_code() == 301:
|
elif refresher.dead_ad_checker(self.html):
|
||||||
self._update_status('Dead ad')
|
self._update_status('Dead ad')
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -13,13 +13,10 @@ class Geocoder:
|
||||||
def start(self):
|
def start(self):
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
sleep(1)
|
sleep(120)
|
||||||
|
|
||||||
print("Exists: {}".format(capturas_interface.not_geocoded_captura_exists()))
|
|
||||||
|
|
||||||
if capturas_interface.not_geocoded_captura_exists():
|
if capturas_interface.not_geocoded_captura_exists():
|
||||||
ad_data = capturas_interface.get_not_geocoded_captura()
|
ad_data = capturas_interface.get_not_geocoded_captura()
|
||||||
print(ad_data)
|
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue