Finalizado y testeado localmente refresher, listo para testear en
entorno.
This commit is contained in:
parent
8f5a120096
commit
3fdbc5f766
5 changed files with 501 additions and 144 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue