get list of all accounts
This commit is contained in:
parent
a5d5011979
commit
1707494747
2 changed files with 15 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ from decimal import Decimal
|
|||
import re
|
||||
from mechanize import Cookie
|
||||
|
||||
from weboob.tools.browser import BasePage, BrowserUnavailable, BrokenPageError
|
||||
from weboob.tools.browser import BasePage as _BasePage, BrowserUnavailable, BrokenPageError
|
||||
from weboob.capabilities.bank import Account
|
||||
from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
||||
|
||||
|
|
@ -55,6 +55,11 @@ class WikipediaARC4(object):
|
|||
return ''.join(output)
|
||||
|
||||
|
||||
class BasePage(_BasePage):
|
||||
def get_token(self):
|
||||
return self.parser.select(self.document.getroot(), '//form//input[@name="token"]', 1, 'xpath').attrib['value']
|
||||
|
||||
|
||||
class RedirectPage(BasePage):
|
||||
"""
|
||||
var i = 'lyhrnu551jo42yfzx0jm0sqk';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue