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
|
#DAT account can't have transaction
|
||||||
if self.document.xpath('//table[@id="table-dat"]'):
|
if self.document.xpath('//table[@id="table-dat"]'):
|
||||||
return
|
return
|
||||||
|
#These accounts have investments, no transactions
|
||||||
|
if self.document.xpath('//table[@id="InfosPortefeuille"]'):
|
||||||
|
return
|
||||||
tables = self.document.xpath('//table[@id="table-detail-operation"]')
|
tables = self.document.xpath('//table[@id="table-detail-operation"]')
|
||||||
if len(tables) == 0:
|
if len(tables) == 0:
|
||||||
tables = self.document.xpath('//table[@id="table-detail"]')
|
tables = self.document.xpath('//table[@id="table-detail"]')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue