CrAgr: Fixed the history operation so that it basically works when every non-ASCII character on the bank website is replaced with two interrogation marks.
Signed-off-by: Xavier G <xavier@tuxfamily.org> Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
parent
69018eeff3
commit
111a49e00e
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class AccountsList(CragrBasePage):
|
||||||
title_spans = self.document.xpath('/html/body/div[@class="dv"]/span')
|
title_spans = self.document.xpath('/html/body/div[@class="dv"]/span')
|
||||||
for title_span in title_spans:
|
for title_span in title_spans:
|
||||||
title_text = title_span.text_content().strip().replace("\n", '')
|
title_text = title_span.text_content().strip().replace("\n", '')
|
||||||
if (re.match('.*Compte.*n.[0-9]+.*au.*', title_text)):
|
if (re.match('.*Compte.*n.*[0-9]+.*au.*', title_text)):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue