Finalizado y testeado localmente refresher, listo para testear en

entorno.
This commit is contained in:
pablomartincalvo 2018-10-16 21:19:35 +02:00
parent 8f5a120096
commit 3fdbc5f766
5 changed files with 501 additions and 144 deletions

View file

@ -29,8 +29,10 @@ class Capturer:
if task.status == 'Data ready':
ad_data = task.get_ad_data()
elif Refresher.dead_ad_checker(task.html):
task._update_status('Dead ad')
continue
else:
Refresher.dead_ad_checker(task.html)
continue
capturas_interface.insert_captura(ad_data)