Arreglos menores en capturer y refresher.

This commit is contained in:
pablomartincalvo 2018-10-19 17:22:09 +02:00
parent e379708c04
commit c3c16e7015
5 changed files with 224 additions and 152 deletions

View file

@ -21,7 +21,7 @@ class Refresher:
"""
Comprueba si el html es de un anuncio dado de baja.
:param html: HTML del anuncio en string.
:return: True si esta dado de baja, False si no.
:return: True si esta dado de baja, False si no.
"""
if ':-|' in html or 'El anunciante lo dio de baja' in html:
return True