Fix DummyProgress class and add comments about session cookies in README.md

This commit is contained in:
Lucas Verney 2016-09-30 14:26:11 -04:00
parent 2ea9877be5
commit 3e04f3c824
2 changed files with 13 additions and 0 deletions

View File

@ -46,6 +46,10 @@ provided in input JSON file to a map of fetched data by this module.
Each module map has a `cookies` entry containing the cookies used to fetch the Each module map has a `cookies` entry containing the cookies used to fetch the
data, so that any program running afterwards can download documents. data, so that any program running afterwards can download documents.
**Important** note: Most of such websites have very short lived sessions,
meaning in most cases these `cookies` will be useless for extra download as
the session will most likely be destroyed on the server side.
The other entries in these maps depend on the module capabilities as defined The other entries in these maps depend on the module capabilities as defined
by Weboob. Detailed informations about these other entires can be found in the by Weboob. Detailed informations about these other entires can be found in the
`doc/capabilities` folder. `doc/capabilities` folder.

View File

@ -12,3 +12,12 @@ class DummyProgress:
Progress function. Do nothing. Progress function. Do nothing.
""" """
pass pass
def error(self, message):
"""
Error function. Do nothing.
"""
pass
def prompt(self, message):
raise NotImplementedError()