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)
|
||||
# The first and the second letter of the label are the account type
|
||||
if account.label[0:2] == "CC":
|
||||
self.location('https://secure.ingdirect.fr/\
|
||||
protected/pages/cc/accountDetail.jsf')
|
||||
self.location('https://secure.ingdirect.fr/protected/pages/cc/accountDetail.jsf')
|
||||
elif account.label[0:2] == "LA":
|
||||
# we want "displayTRHistoriqueLA" but this fucking page
|
||||
# is not directly available...
|
||||
self.location('https://secure.ingdirect.fr/\
|
||||
general?command=goToAccount&account=%d&zone=COMPTE'\
|
||||
% int(id))
|
||||
self.location('https://secure.ingdirect.fr/general?command=goToAccount&account=%d&zone=COMPTE' % int(id))
|
||||
else:
|
||||
raise NotImplementedError()
|
||||
return self.page.get_transactions()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue