Don't cut and url...
This commit is contained in:
parent
34e95f8f7b
commit
2dd47e745e
1 changed files with 2 additions and 5 deletions
|
|
@ -84,14 +84,11 @@ class Ing(BaseBrowser):
|
||||||
account = self.get_account(id)
|
account = self.get_account(id)
|
||||||
# The first and the second letter of the label are the account type
|
# The first and the second letter of the label are the account type
|
||||||
if account.label[0:2] == "CC":
|
if account.label[0:2] == "CC":
|
||||||
self.location('https://secure.ingdirect.fr/\
|
self.location('https://secure.ingdirect.fr/protected/pages/cc/accountDetail.jsf')
|
||||||
protected/pages/cc/accountDetail.jsf')
|
|
||||||
elif account.label[0:2] == "LA":
|
elif account.label[0:2] == "LA":
|
||||||
# we want "displayTRHistoriqueLA" but this fucking page
|
# we want "displayTRHistoriqueLA" but this fucking page
|
||||||
# is not directly available...
|
# is not directly available...
|
||||||
self.location('https://secure.ingdirect.fr/\
|
self.location('https://secure.ingdirect.fr/general?command=goToAccount&account=%d&zone=COMPTE' % int(id))
|
||||||
general?command=goToAccount&account=%d&zone=COMPTE'\
|
|
||||||
% int(id))
|
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
return self.page.get_transactions()
|
return self.page.get_transactions()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue