Commits on Source (50)
-
Warning: it requires Chromium
00baa075 -
For some reason, some attribute changes everytime, preventing StablePageCondition from working. Just ignore it, I'm too lazy to understand now.
5d941c50 -
0d534538
-
cafd8f56
-
609f011c
-
98f0b546
-
Sometimes, for unknown reasons, login buttons are missing. Press enter key in text inputs instead.
ca044715 -
Parsing with selenium is very instable and often leads to timeout when looking for an xpath. Instead, use standard PagesBrowser when selenium is not needed, i.e. after login.
88a2015b -
Selenium navigation is quite instable, sometimes we land on pages with no real action possible, as if something was loading but was stale. Sometime chromium even has a connection error and doesn't even retry. Simply fallback on whole retrying in this case.
cd83a841 -
0d082736
-
To get invests on an account, the account must be selected first, then invests are on a second page.
42dca920 -
0eaab01e
-
2bc856be
-
For some reason, it doesn't seem to work anymore, selenium crashes with an unfathomable exception. Retrying after some time seems to solve it.
e6514d89 -
43f965a4
-
974f8601
-
c81e84b5
-
acbe241b
-
b3f92256
-
The ISIN codes are available in the investment details or in another page that requires an additional request and redirection. For life insurances, the ISIN codes are directly available on the investments details page.
d2e46611 -
There are at least 5 different tables with different kinds of transactions. Only one (versements) was scraped up to now. Thanks to the "assert" I found several connections that crash because they contain transactions in the other tables. The "arbitrage" table does not contain any balance so we don't scrape it. This patch implements the scraping of "Rachats Partiels" transactions.
c457c1cb -
Up to now, iter_history was only implemented for Life Insurances. This patch enables scraping of transactions for Market and PEA accounts as well.
3737a1fd -
The balance of the account took in the unrealised gains and losses of the investments done using SRD. We added investments corresponding to those assets with a valuation equals to the unrealised gains and losses in order to match the balance of the account displayed by the website.
57c5610c -
Invests with info[1] = '' may also be relevant so I removed the condition and replaced with a condition on 'Vente transmise au marché'. Factorized liquidities with create_french_liquidity().
fb1827e0 -
748f5895
-
Some accounts are in bug because they have investments without any valuation on the website (probably expired or in the process of being bought for example). We skip those because we do not know their valuation.
3230edaf -
We found connections with transactions in the table called "Historique des demandes d'avance" so I implemented them.
30e32a71 -
Auth is now a simple login form, no more selenium. And there's no otp anymore. Hurray!
4c523656 -
b2a77bb8
-
Some connections are blocked with an unhandled message, we must raise ActionNeeded.
cf6a098b -
The name "diff_percent" was always wrong because we never put a percentage in this field. It's been made an alias to the diff_ratio field. Make modules use the proper field.
a62339ed -
78911fa0
-
aaf3cbf7
-
4cb79b96
-
Some investment detail pages lead to a 404, some portfolio_shares and unit values are not available.
dfdccfb9 -
Sometimes login fails for no apparent reason. I couldn't reproduce the issue since it doesn't seem to last. I added a retry and we'll see if it's enough.
bdc4c0d8 -
8a93c9c0
-
3c1564b2
-
The life insurance URL can sometimes redirect us to a list of closed accounts.
7a960dd4 -
73930ee8
-
The ID is available in the Market Order's URL.
fb32f942 -
We land directly on portfolio page. And there are no life insurances.
44883ea0 -
02d25f6a
-
Also added another possible order_type.
6eedd307 -
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'.
acccf5cc -
152a4e0f
-
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.
de9b39ba -
MapIn filter does not handle NotAvailable, only empty string.
8494acdc -
The empty_xpath is not exactly the same on both spaces.
e0ed3a4b -
4a0f0271
modules/boursedirect/__init__.py
0 → 100644
modules/boursedirect/browser.py
0 → 100644
modules/boursedirect/module.py
0 → 100644
modules/boursedirect/pages.py
0 → 100644