support when website asks to renew password
This commit is contained in:
parent
4df089ee1b
commit
95c41a346f
1 changed files with 6 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ import re
|
|||
import datetime
|
||||
|
||||
from weboob.capabilities.bank import Account
|
||||
from weboob.tools.browser import BasePage#, BrokenPageError
|
||||
from weboob.tools.browser import BasePage, BrowserIncorrectPassword
|
||||
from weboob.capabilities import NotAvailable
|
||||
from weboob.tools.capabilities.bank.transactions import FrenchTransaction
|
||||
|
||||
|
|
@ -85,6 +85,11 @@ class AccountHistoryPage(BasePage):
|
|||
return operations
|
||||
|
||||
class AccountsList(BasePage):
|
||||
def on_loaded(self):
|
||||
warn = self.document.xpath('//div[@id="message_renouvellement_mot_passe"]')
|
||||
if len(warn) > 0:
|
||||
raise BrowserIncorrectPassword(warn[0].text)
|
||||
|
||||
def get_list(self):
|
||||
l = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue