axa stop parsing history of investment accounts
This commit is contained in:
parent
18c7655db6
commit
bb34d79095
1 changed files with 3 additions and 0 deletions
|
|
@ -263,6 +263,9 @@ class TransactionsPage(BasePage):
|
|||
#DAT account can't have transaction
|
||||
if self.document.xpath('//table[@id="table-dat"]'):
|
||||
return
|
||||
#These accounts have investments, no transactions
|
||||
if self.document.xpath('//table[@id="InfosPortefeuille"]'):
|
||||
return
|
||||
tables = self.document.xpath('//table[@id="table-detail-operation"]')
|
||||
if len(tables) == 0:
|
||||
tables = self.document.xpath('//table[@id="table-detail"]')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue