• Quentin Defenouillere's avatar
    [spirica] Only retrieve invests for 20 first transactions & handle logouts · 7fa6e4e4
    Quentin Defenouillere authored
    I factorized the transactions investments into a separated method to
    retrieve investments only for the first 20 transactions, otherwise the
    spirica website is too slow. The rest of iter_history fetches
    transactions from other pages without investments.
    I also created a method that checks if we are logged in or not.
    The current "transactions_page" page is easier to handle if we make it a
    class attribute, so it can be stored and modified by all three methods.
    7fa6e4e4
Name
Last commit
Last update
.ci Loading commit data...
contrib Loading commit data...
desktop Loading commit data...
docs Loading commit data...
icons Loading commit data...
man Loading commit data...
modules Loading commit data...
scripts Loading commit data...
tools Loading commit data...
weboob Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
MANIFEST.in Loading commit data...
MANIFEST.in.modules Loading commit data...
README.md Loading commit data...
build.mk Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...