Merge branch 'foncia' into 'master'

Add support for Foncia backend from Weboob

See merge request !5
This commit is contained in:
Lucas Verney 2017-06-26 13:33:15 +02:00
commit 6ed484bb8b
2 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class WeboobProxy(object):
""" """
# Default backends # Default backends
if not config["backends"]: if not config["backends"]:
backends = ["seloger", "pap", "leboncoin", "logicimmo", backends = ["foncia", "seloger", "pap", "leboncoin", "logicimmo",
"explorimmo", "entreparticuliers"] "explorimmo", "entreparticuliers"]
else: else:
backends = config["backends"] backends = config["backends"]

View File

@ -24,6 +24,7 @@ LOGGER = logging.getLogger(__name__)
# considered as less trustable if two backends have similar info about a # considered as less trustable if two backends have similar info about a
# housing. # housing.
BACKENDS_PRECEDENCE = [ BACKENDS_PRECEDENCE = [
"foncia",
"seloger", "seloger",
"pap", "pap",
"leboncoin", "leboncoin",