fix website changes
This commit is contained in:
parent
8ac7bbb434
commit
ed94b3dbb3
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ __all__ = ['AlloRestoBrowser']
|
|||
|
||||
|
||||
class AlloRestoBrowser(LoginBrowser):
|
||||
BASEURL = 'http://www.alloresto.fr'
|
||||
BASEURL = 'https://www.alloresto.fr'
|
||||
|
||||
login = URL('/identification-requise.*', LoginPage)
|
||||
accounts = URL('/chez-moi/releve-compte-miams', AccountsPage)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ from weboob.tools.capabilities.bank.transactions import FrenchTransaction as Tra
|
|||
|
||||
class LoginPage(HTMLPage):
|
||||
def login(self, username, password):
|
||||
form = self.get_form(nr=1)
|
||||
form = self.get_form(xpath='//form[has-class("form_o")]')
|
||||
form['uname'] = username
|
||||
form['pass'] = password
|
||||
form.submit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue