creditmutuel fix accounts parsing
This commit is contained in:
parent
68b1b9c550
commit
985708f10a
1 changed files with 2 additions and 2 deletions
|
|
@ -148,11 +148,11 @@ class AccountsPage(LoggedPage, HTMLPage):
|
||||||
|
|
||||||
url = urlparse(link)
|
url = urlparse(link)
|
||||||
p = parse_qs(url.query)
|
p = parse_qs(url.query)
|
||||||
if 'rib' not in p:
|
if 'rib' not in p and 'webid' not in p:
|
||||||
raise SkipItem()
|
raise SkipItem()
|
||||||
|
|
||||||
balance = CleanDecimal('./td[2] | ./td[3]', replace_dots=True)(self)
|
balance = CleanDecimal('./td[2] | ./td[3]', replace_dots=True)(self)
|
||||||
id = p['rib'][0]
|
id = p['rib'][0] if 'rib' in p else p['webid'][0]
|
||||||
|
|
||||||
# Handle cards
|
# Handle cards
|
||||||
if id in self.parent.objects:
|
if id in self.parent.objects:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue