Skip to content
Commit e04bc24f authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon
Browse files

[barclays] Corrected iter_accounts to fetch IBANs

The is_here() of the LoansPage was catching most other accounts pages,
as a results, we never landed on AbstractAccountPage and therefore,
has_iban() always returned False and we were not fetching the IBANs
anymore.
I changed the is_here so that every account fits with the right Page.
From what I observed, only checking accounts have an IBAN so there is no
need to go to every account's detail page during iter_accounts if we do not
scrape anything on it.
This modification significantly reduces the number of requests and the
duration of iter_accounts().
parent a6da9d52
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment