- Sep 23, 2020
-
-
For binary response, HAR allows base64 encoding so data is untouched. But no such thing exists for binary posted data. Some generators write JSON with the binary posted data as if it were latin-1 encoded text. But when reading, what can we do? Think it's binary to encode back to latin-1? Or think it's text? HAR gives no answer, so we add a non-standard "x-binary" key to indicate "text" is actually binary disguised with latin-1.
-
The condition was in ListElement instead of ItemElement and some accounts were filtered out by mistake.
-
-
-
When amount is not found by the first parsing, it must be done by a second one. I changed the condition on which this is triggered, since it not needed anymore, and would throw an AttributeError when page is parsed a second time.
-
This is mainly used during iter_accounts, but also in the cragr module before calling is_account_present.
-
The xpath to check if an account is present does not appear if the netfinca space is in action needed so I added a check_action_needed method that is used for iter_investments and iter_market_orders.
-
These accounts have no balance, we don't want to fetch them.
-
Loans currently have balance == NotLoaded, which is a problem for the backend: "TypeError: '>' not supported between instances of 'NotAvailableType' and 'int'"
-
It avoids bad config instantiation from parent.
-
Otherwise some connections have 'CenetBrowser has no attribute iter_market_orders'
-
Some users are redirected to a new url for their por account summary
-
A life insurance (ANAE) was not typed therefore its investments were not scraped correctly.
-
-
-
The login URLs changed and once we reach login page there is now a `<form>` instead of the former JSON login system.
-
It has been recently deleted from directaccess parent LoginPage, but is needed for openapi.
-
Between 2 synchronizations, client might have set up 2FA to be systematic. It also is often the case for pro users.
-
-
-
In some cases, an account can have its url missing, which caused the assert to fail and crash the iter_transfer_recipients. This can be fixed by searching the account from its iban instead of its id.
-
-
-
-
-
2FA to be done in a navigator by user
-
It fails with utf-8-bom.
-
This is a better trick than manually choping the BOM.
-
-
If the account was recently created (less than a month), there was only one period to be fetched, leading to a crash since we were accessing periods[1] to access the account page.
-
Seen with arkea. We want to avoid to force sending otp in other cases.
-
-
-
- Sep 19, 2020
-
-
-
The empty_xpath is not exactly the same on both spaces.
-
MapIn filter does not handle NotAvailable, only empty string.
-
The navigation to access Market Orders on the website recently changed, but the parsing did not (apart from the ENCODING of the pages). Also typed 'SRD' payment method correctly.
-
-
Some connections have a specific URL (listeContrats instead of compte). Since this URL was not handled with a Page class, we were trying to relogin but the self.login.go() was directly leading to AccountsPage, resulting in the following error: AccountsPage has no attribute 'do_login'.
-
Also added another possible order_type.
-