Corregido criterio para identificar anuncios muertos en el capturer.

This commit is contained in:
pablomartincalvo 2018-10-26 20:34:43 +02:00
parent a3a2165f43
commit a2dcec95f4
3 changed files with 105 additions and 94 deletions

View file

@ -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: