diff --git a/modules/boursedirect/pages.py b/modules/boursedirect/pages.py index 005f27c798fcd63fce7f7a9ae85f357f06b19a60..56c16a2a1285920ea45387e8c3f4a5cd511619b4 100644 --- a/modules/boursedirect/pages.py +++ b/modules/boursedirect/pages.py @@ -141,7 +141,7 @@ def obj_type(self): @method class fill_account(ItemElement): - obj_balance = CleanDecimal.French('//table[contains(@class,"compteInventaire")]//tr[td[b[text()="TOTAL"]]]/td[2]') + obj_balance = CleanDecimal.French('//th[b/text()="TOTAL"]/following-sibling::td[1]') class InvestPage(RawPage):