supporting mouvements.html and situation_financiere.html
This commit is contained in:
parent
3ca0e5c7d0
commit
c2bb904138
2 changed files with 22 additions and 7 deletions
|
|
@ -42,8 +42,10 @@ class CICBrowser(Browser):
|
|||
PAGES = {'https://www.cic.fr/.*/fr/banques/particuliers/index.html': LoginPage,
|
||||
'https://www.cic.fr/.*/fr/identification/default.cgi': LoginErrorPage,
|
||||
'https://www.cic.fr/.*/fr/banque/situation_financiere.cgi': AccountsPage,
|
||||
'https://www.cic.fr/.*/fr/banque/situation_financiere.html': AccountsPage,
|
||||
'https://www.cic.fr/.*/fr/banque/espace_personnel.aspx': UserSpacePage,
|
||||
'https://www.cic.fr/.*/fr/banque/mouvements.cgi.*': OperationsPage,
|
||||
'https://www.cic.fr/.*/fr/banque/mouvements.html.*': OperationsPage,
|
||||
'https://www.cic.fr/.*/fr/banque/mvts_instance.cgi.*': ComingPage,
|
||||
'https://www.cic.fr/.*/fr/banque/nr/nr_devbooster.aspx.*': OperationsPage,
|
||||
'https://www.cic.fr/.*/fr/banque/operations_carte\.cgi.*': CardPage,
|
||||
|
|
@ -101,7 +103,7 @@ class CICBrowser(Browser):
|
|||
self.currentSubBank = url.path.lstrip('/').split('/')[0]
|
||||
|
||||
def list_operations(self, page_url):
|
||||
if page_url.startswith('/'):
|
||||
if page_url.startswith('/') or page_url.startswith('https'):
|
||||
self.location(page_url)
|
||||
else:
|
||||
self.location('https://%s/%s/fr/banque/%s' % (self.DOMAIN, self.currentSubBank, page_url))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue