- Apr 26, 2021
-
-
-
-
A SCA will be asked on every connection.
-
The `guid` we get from the url's query parameters in order to build the document's id is gone on Credit Mutuel. So, we use the `cle` parameter instead. This statement is valid for Credit Mutuel's children aswell.
-
Some investments values are displayed in a different currency than the account's currency
-
Change the XPath for the BrowserUnavailable related message. A new wrongpass case was added to handle blocked account for which the user has to change its password.
-
-
-
For some deferred cards, LBP doesn't provide any "encours" amounts.
-
My thoery is that the website expect you to retrieve the account list before the details, which was not the case when we had retried before.
-
-
-
Helps put the browser in a good state.
-
Sometimes we have cookies with duplicated names in the CookieJar. This can happen when we have cookies with the same name but with different domains or paths. We can't access or delete these cookies as we would normally because it would raise a CookieConflictError. We have to use the `remove_cookie_by_name()` function for that particular case.
-
-
During login we have multiple redirections. We can catch future otp information between 2 redirections. Seems to be needed here just for pro accounts.
-
New url must be catched: https://pro.mabanque.bnpparibas/fr/secure/100-connexions. Consequently a more global url has been added for all 100-connexion cases. Moreover this request can lead to a 302 and on_load must be forced with an allow_redirects=False.
-
-
-
-
-
-
-
-
-
Setup right column for balance for loan revolving, we want to display the used amount, which is the amount that need to be refund. Total amount for loan revolving match the max amount authorized by the bank. For this kind of loans, LCL doesn't display any rate, handle this case.
-
Despite its name, 'CAPI_AGF' is a life insurance. There are no capitalisation contracts on the website.
-
This reverts commit dc99d31a718ee500d0c5adfbb96a2b5721af992f.
-
- Apr 11, 2021
-
-
Romain Bignon authored
-
Romain Bignon authored
-
Roger Philibert authored
-
- Apr 08, 2021
-
-
The valuation is already in euro, not in GB pence, so it should not be converted.
-
The CleanDecimal is unnecessary when we're already fetching numbers, and it could result in unwanted conversions in scientific value, such as 0.0001 becoming 1E-04.
-
GBX is ambiguous, it's the symbol for both GB Pence and the crypto-currency GoByte. We convert them to GBP. The unitprice is in the original currency of the stock so we need to handle original_unitprice when applicable.
-
On the website, the user is asked to complete their profile. On the API, we have no error until we try to fetch the account's details. At this point we get an error 412 without much more info.
-
As the website is stateful, after being on a "History list", if we do a request for the details of one entry of the list, we will have to send the "going back" request to have the "History list" page again. But, it is not needed to "go back" to see other "details" pages. So, this change improve the performance by only going back once before trying to go to the next page of a History list page. In addition, this might fix some nasty issues as the website is "unstable" and could easily have timeout issues. And in that case, missing any step could easily break next requests with strange errors.
-
show_more() is called to select the number of items per page. It will return False if the selector was not found, and True if it was found and successfully changed to the request value. But, currently, if we found the selector but it was already on the correct value, we would return nothing, that would be equivalent to False for the "if" test that is used in the browser.py. This issue associated with a previous issue when "stay_or_go" was used, led to having the history entries returned only for a single time, for single account, but not for subsequent calls or different accounts.
-
Sometimes, instead of the expected content, an empty page with just a META redirection is returned when it looks like that the user was disconnected. Ex.: <!DOCTYPE html><html><head><META http-equiv="refresh" content="0; URL=/portal/salarie-axa/operations/consulteroperations"></head><body></body></html> A further request would encounter 302 redirections to the login page. In such a case, raise a "Loggedout" exception as previously it was just silently ignored and considered as a normal page. Note: check_disconnected as to be called manually in iter_history, as a simple "open" (compared to a "location") will not call the "on_load" function of the page.
-
The s2e website is stateful, and a lot of different content can match the same url, so it is safer to always go back to the inital page. By only using a go, we can be sure that the good page will be loaded in the correct state before trying to use any function of the page.
-
Also set the language when calling profile first before already having a cookie that had the correct language set by a call to accounts page. At the same time, to be future proof, add the xpath selectors for the us language version of the page.
-