diff --git a/modules/hsbc/browser.py b/modules/hsbc/browser.py index 66be84e87bdc0c61c8581e8aa6278714f92e08f7..bc8821c9c3be22b6497d14606143d9d79798ed47 100644 --- a/modules/hsbc/browser.py +++ b/modules/hsbc/browser.py @@ -99,21 +99,23 @@ class HSBC(LoginBrowser): r'https://www.hsbc.fr/1/[0-9]/authentication/sso-cwd\?customerFullName=.*', InvestmentFormPage ) - logon_investment_page = URL(r'https://investissements.clients.hsbc.fr/group-wd-gateway-war/gateway/LogonAuthentication', LogonInvestmentPage) + logon_investment_page = URL(r'https://investissements.clients.hsbc.fr/group-wd-gateway-war/gateway/LogonAuthentication', + r'https://investissements.clients.hsbc.fr/cwd/group-wd-gateway-war/gateway/LogonAuthentication', + LogonInvestmentPage) retrieve_accounts_view = URL( - r'https://investissements.clients.hsbc.fr/group-wd-gateway-war/gateway/wd/RetrieveProductView', + r'https://investissements.clients.hsbc.fr/cwd/group-wd-gateway-war/gateway/wd/RetrieveCustomerPortfolio', RetrieveAccountsPage ) retrieve_investments_page = URL( - r'https://investissements.clients.hsbc.fr/group-wd-gateway-war/gateway/wd/RetrieveProductView', + r'https://investissements.clients.hsbc.fr/cwd/group-wd-gateway-war/gateway/wd/RetrieveCustomerPortfolio', RetrieveInvestmentsPage ) retrieve_liquidity_page = URL( - r'https://investissements.clients.hsbc.fr/group-wd-gateway-war/gateway/wd/RetrieveProductView', + r'https://investissements.clients.hsbc.fr/cwd/group-wd-gateway-war/gateway/wd/RetrieveCustomerPortfolio', RetrieveLiquidityPage ) retrieve_useless_page = URL( - r'https://investissements.clients.hsbc.fr/group-wd-gateway-war/gateway/wd/RetrieveProductView', + r'https://investissements.clients.hsbc.fr/cwd/group-wd-gateway-war/gateway/wd/RetrieveCustomerPortfolio', RetrieveUselessPage ) diff --git a/modules/hsbc/pages/investments.py b/modules/hsbc/pages/investments.py index 63147b3d73a0bf83b4e7233a41f065f477d519ac..19dc4e0e362fc4b9873ac38dac6d3c6528214411 100644 --- a/modules/hsbc/pages/investments.py +++ b/modules/hsbc/pages/investments.py @@ -45,7 +45,7 @@ def get_session_storage(self): class ProductViewHelper(): - URL = 'https://investissements.clients.hsbc.fr/group-wd-gateway-war/gateway/wd/RetrieveProductView' + URL = 'https://investissements.clients.hsbc.fr/cwd/group-wd-gateway-war/gateway/wd/RetrieveCustomerPortfolio' def __init__(self, browser): self.browser = browser