From 55c7ce055b1fce4528d1860564061a51652bd6fb Mon Sep 17 00:00:00 2001 From: Martin Lavoie Date: Mon, 28 Jun 2021 14:55:06 +0200 Subject: [PATCH] [creditcooperatif] Add timestamp when requesting the config page Follow update of parent module caissedepargne --- modules/creditcooperatif/caisseepargne_browser.py | 5 ++++- modules/creditcooperatif/cenet_browser.py | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/creditcooperatif/caisseepargne_browser.py b/modules/creditcooperatif/caisseepargne_browser.py index b8e4185d2c..1f5bd6f7dc 100644 --- a/modules/creditcooperatif/caisseepargne_browser.py +++ b/modules/creditcooperatif/caisseepargne_browser.py @@ -41,7 +41,10 @@ class CaisseEpargneBrowser(AbstractBrowser): ) new_login = URL(r'https://www.credit-cooperatif.coop/se-connecter/sso', NewLoginPage) js_file = URL(r'https://www.credit-cooperatif.coop/se-connecter/main-.*.js$', JsFilePage) - config_page = URL('https://www.credit-cooperatif.coop/ria/pas/configuration/config.json', ConfigPage) + config_page = URL( + r'https://www.credit-cooperatif.coop/ria/pas/configuration/config.json\?ts=(?P.*)', + ConfigPage + ) LINEBOURSE_BROWSER = LinebourseAPIBrowser diff --git a/modules/creditcooperatif/cenet_browser.py b/modules/creditcooperatif/cenet_browser.py index 5af24aff4d..1883b4eae4 100644 --- a/modules/creditcooperatif/cenet_browser.py +++ b/modules/creditcooperatif/cenet_browser.py @@ -41,7 +41,10 @@ class CenetBrowser(AbstractBrowser): new_login = URL(r'https://www.credit-cooperatif.coop/se-connecter/sso', NewLoginPage) js_file = URL(r'https://www.credit-cooperatif.coop/se-connecter/main-.*.js$', JsFilePage) - config_page = URL('https://www.credit-cooperatif.coop/ria/pas/configuration/config.json', ConfigPage) + config_page = URL( + r'https://www.credit-cooperatif.coop/ria/pas/configuration/config.json\?ts=(?P.*)', + ConfigPage + ) LINEBOURSE_BROWSER = LinebourseAPIBrowser MARKET_URL = 'https://www.offrebourse.com' -- GitLab