[freemobile] document Id is not consistent
With which module do you encounter problems?
freemobile
Describe the problem you encounter
The (updated) module returns a documentId which is changing each time the module is run, because the parameter Id from the website is not constant after each page reload.
Thus it's not possible (for example) to use the boobill download
command with a DOC_ID.
What are the steps to reproduce the problem?
Just use boobill -b freemobile documents
two (or more) times.
What weboob version are you using?
Output of weboob-config --version
command:
weboob-config v2.1 Copyright(C) 2010-2020 Christophe Benz, Romain Bignon
What module version are you using?
Output of weboob-config info MODULE_NAME
command:
.------------------------------------------------------------------------------.
| Module freemobile |
+-----------------.------------------------------------------------------------'
| Version | 202008112126
| Maintainer | Florent Fourcot <weboob@flo.fourcot.fr>
| License | LGPLv3+
| Description | Free Mobile website
| Capabilities | CapMessages, CapMessagesPost, CapProfile, CapCollection, CapDocument
| Installed | yes
| Location | /Users/llange/Projects/WEBOOB/weboob/modules/freemobile
| |
| Configuration | login: Account ID (default: )
| | password: Password (default: )
'-----------------'
How did you install weboob?
pip install -e .
Additional info you'd like to mention
In my implementation, I decided on the following format : date
.label
. Cf https://git.weboob.org/llange/weboob/blob/447-freemobile-new-website/modules/freemobile/pages/history.py#L50