fix go on professional accounts list page
This commit is contained in:
parent
f4ec9e393a
commit
7f09092b37
1 changed files with 5 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
import urllib
|
||||
|
||||
from weboob.tools.browser import BaseBrowser, BrowserIncorrectPassword
|
||||
from weboob.tools.browser import BaseBrowser, BrowserIncorrectPassword, BrokenPageError
|
||||
|
||||
from .pages import LoginPage, IndexPage, AccountsPage, TransactionsPage, UnavailablePage, RedirectPage, HomePage
|
||||
|
||||
|
|
@ -77,10 +77,14 @@ class BanquePopulaire(BaseBrowser):
|
|||
|
||||
def get_accounts_list(self):
|
||||
self.location(self.buildurl('/cyber/internet/StartTask.do', taskInfoOID='mesComptes', token=self.token))
|
||||
if self.page.is_error():
|
||||
self.location(self.buildurl('/cyber/internet/StartTask.do', taskInfoOID='mesComptesPRO', token=self.token))
|
||||
if self.page.is_error():
|
||||
self.location(self.buildurl('/cyber/internet/StartTask.do', taskInfoOID='maSyntheseGratuite', token=self.token))
|
||||
if self.page.is_error():
|
||||
self.location(self.buildurl('/cyber/internet/StartTask.do', taskInfoOID='accueilSynthese', token=self.token))
|
||||
if self.page.is_error():
|
||||
raise BrokenPageError('Unable to go on the accounts list page')
|
||||
|
||||
return self.page.get_list()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue