Corregido criterio para identificar anuncios muertos en el capturer.
This commit is contained in:
parent
a3a2165f43
commit
a2dcec95f4
3 changed files with 105 additions and 94 deletions
|
|
@ -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