Add keywords to ignore in description to avoid useless ads

This commit is contained in:
Nicolas Frandeboeuf 2020-01-05 12:17:01 +01:00 committed by nicofrand
parent a150312daa
commit 5b15ce6918

View File

@ -38,7 +38,12 @@ DEFAULT_CONFIG = {
"bedrooms": (None, None), # (min, max) "bedrooms": (None, None), # (min, max)
"minimum_nb_photos": None, # min number of photos "minimum_nb_photos": None, # min number of photos
"description_should_contain": [], # list of terms "description_should_contain": [], # list of terms
"description_should_not_contain": [], # list of terms "description_should_not_contain": [ # list of terms
"vendu",
"Vendu",
"VENDU",
"recherche"
],
"time_to": {} # Dict mapping names to {"gps": [lat, lng], "time_to": {} # Dict mapping names to {"gps": [lat, lng],
# "time": (min, max), # "time": (min, max),
# "mode": Valid mode } # "mode": Valid mode }