From a6d5ed693e7424aee6cdc0c850ebc0a0140b7dae Mon Sep 17 00:00:00 2001 From: Vincent Ardisson Date: Tue, 19 Sep 2017 14:29:42 +0200 Subject: [PATCH] [hsbc] move other_page last since it will match everything Most hsbc pages are on the same url, so without is_here(), it will catch everything --- modules/hsbc/browser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/hsbc/browser.py b/modules/hsbc/browser.py index 99c16c48c0..af4a1b9fe8 100644 --- a/modules/hsbc/browser.py +++ b/modules/hsbc/browser.py @@ -68,13 +68,14 @@ class HSBC(LoginBrowser): life_insurance_useless = URL(r'/cgi-bin/emcgi', LifeInsuranceUseless) unavailable = URL(r'/cgi-bin/emcgi', UnavailablePage) frame_page = URL(r'/cgi-bin/emcgi', FrameContainer) - other_page = URL(r'/cgi-bin/emcgi', OtherPage) # other site life_insurance_portal = URL(r'/cgi-bin/emcgi', LifeInsurancePortal) life_insurance_main = URL('https://assurances.hsbc.fr/fr/accueil/b2c/accueil.html\?pointEntree=PARTIEGENERIQUEB2C', LifeInsuranceMain) life_insurances = URL('https://assurances.hsbc.fr/navigation', LifeInsurancesPage) + # catch-all + other_page = URL(r'/cgi-bin/emcgi', OtherPage) def __init__(self, username, password, secret, *args, **kwargs): super(HSBC, self).__init__(username, password, *args, **kwargs) -- GitLab