flatisfy/flatisfy
Lucas Verney 054c5679bb Handle exceptions raised when fetching details
Weboob does handle the raised exceptions when fetching housing posts
through the `WebNip` class. However, when fetching details, we directly
call the Weboob backend method and no exceptions handling is done.

When importing data with a `crontask`, websites may be offline for some
time, especially at night, then leading to a failure in import process.

Let's just handle such exceptions so that an offline website does not
break the whole import process. Details from the temporary offline
websites which could not be fetched will be fetched at next run.

This closes #60.
2017-06-20 13:37:54 +02:00
..
data_files Fix GPS position import of Tcl stations 2017-06-19 14:25:02 +02:00
database Rewrite data files management, to make it more modular 2017-06-15 15:48:16 +02:00
filters More informative error message when matching accidentally a wrong postal code. See #64 for more context. 2017-06-19 17:15:42 +02:00
models Rewrite doc and frontend to match new constraints in config 2017-06-16 16:56:59 +02:00
web Add a CLI argument to import only a given constraint. Drop the necessary constraint. 2017-06-19 16:08:06 +02:00
__init__.py Initial commit 2017-04-13 20:03:59 +02:00
__main__.py Add a CLI argument to import only a given constraint. Drop the necessary constraint. 2017-06-19 16:08:06 +02:00
cmds.py Add a CLI argument to import only a given constraint. Drop the necessary constraint. 2017-06-19 16:08:06 +02:00
config.py Add some doc about CLI option and better informative message 2017-06-19 17:20:53 +02:00
data.py Avoid loading multiple times the same data 2017-06-19 12:01:10 +02:00
exceptions.py Initial commit 2017-04-13 20:03:59 +02:00
fetch.py Handle exceptions raised when fetching details 2017-06-20 13:37:54 +02:00
tools.py Handle multiple constraints in the config 2017-06-16 16:22:02 +02:00