From 24db61674679cd01998fda3f10b7611ad60b5631 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sat, 6 Apr 2013 11:28:15 +0200 Subject: [PATCH] fix pages handler --- modules/hsbc/browser.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/hsbc/browser.py b/modules/hsbc/browser.py index 21f66e63..4e777065 100644 --- a/modules/hsbc/browser.py +++ b/modules/hsbc/browser.py @@ -41,12 +41,12 @@ class HSBC(BaseBrowser): PROTOCOL = 'https' CERTHASH = '3f8d5765792a7a83b8e82b121d87adf2c25f2358c3a39d4716c09854e5be791a' ENCODING = None # refer to the HTML encoding - PAGES = {'https://client.hsbc.fr/session_absente.html': NotLoggedPage, - 'https://client.hsbc.fr/cgi-bin/emcgi\?.*debr=COMPTES_PAN': AccountsListPage, - 'https://client.hsbc.fr/cgi-bin/emcgi\?.*CPT_IdPrestation=.*': CPTHistoryPage, - 'https://client.hsbc.fr/cgi-bin/emcgi\?.*CB_IdPrestation=.*': CardHistoryPage, - 'https://www.hsbc.fr/.*': LoginPage, - 'https://client.hsbc.fr/cgi-bin/emcgi': LoginPage, + PAGES = {'https://client.hsbc.fr/session_absente.html': NotLoggedPage, + 'https://client.hsbc.fr/cgi-bin/emcgi.*\?.*debr=COMPTES_PAN': AccountsListPage, + 'https://client.hsbc.fr/cgi-bin/emcgi.*\?.*CPT_IdPrestation=.*': CPTHistoryPage, + 'https://client.hsbc.fr/cgi-bin/emcgi.*\?.*CB_IdPrestation=.*': CardHistoryPage, + 'https://www.hsbc.fr/.*': LoginPage, + 'https://client.hsbc.fr/cgi-bin/emcgi': LoginPage, } _session = None