Add support for Foncia backend from Weboob

This commit is contained in:
Lucas Verney 2017-06-14 16:30:19 +02:00
parent 3469035f4a
commit 1517d8d30b
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,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

@ -22,6 +22,7 @@ LOGGER = logging.getLogger(__name__)
# Some backends give more infos than others. Here is the precedence we want to # Some backends give more infos than others. Here is the precedence we want to
# use. # use.
BACKENDS_PRECEDENCE = [ BACKENDS_PRECEDENCE = [
"foncia",
"seloger", "seloger",
"pap", "pap",
"leboncoin", "leboncoin",