fix website changes

This commit is contained in:
Romain Bignon 2014-10-11 14:18:57 +02:00
commit ed94b3dbb3
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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()