fix website change (yes, the typo is still here in class name)
This commit is contained in:
parent
977f5a9f02
commit
80fd2db3d4
1 changed files with 3 additions and 3 deletions
|
|
@ -50,12 +50,12 @@ class HomePage(LoggedPage, HTMLPage):
|
|||
klass = Account
|
||||
|
||||
def condition(self):
|
||||
return len(self.el.xpath('.//div[@class="catre_col_one"]/h2')) > 0
|
||||
return len(self.el.xpath('.//div[@class="catre_col_two"]/h2')) > 0
|
||||
|
||||
obj_id = CleanText('.//div[@class="carte_col_leftcol"]/p') & Regexp(pattern=r'(\d+)')
|
||||
obj_label = CleanText('.//div[@class="carte_col_leftcol"]/h2')
|
||||
obj_balance = Format('-%s', CleanText('.//div[@class="catre_col_one"]/h2')) & CleanDecimal(replace_dots=True)
|
||||
obj_currency = FrenchTransaction.Currency('.//div[@class="catre_col_one"]/h2')
|
||||
obj_balance = Format('-%s', CleanText('.//div[@class="catre_col_two"]/h2')) & CleanDecimal(replace_dots=True)
|
||||
obj_currency = FrenchTransaction.Currency('.//div[@class="catre_col_two"]/h2')
|
||||
obj__link = Link('.//a[contains(@href, "solde-dernieres-operations")]')
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue