diff --git a/modules/ing/browser.py b/modules/ing/browser.py index 5ac3d987..4e5235f5 100644 --- a/modules/ing/browser.py +++ b/modules/ing/browser.py @@ -43,8 +43,8 @@ class Ing(BaseBrowser): '.*transferCreateValidation.jsf': TransferConfirmPage, '.*eStatement.jsf': BillsPage, '.*displayCoordonneesCommand.*': StopPage, - '.*portefeuille-TR.*': TitrePage, - '.*compteTempsReelCK.php.*': TitrePage, + '.*portefeuille-TR.*': (TitrePage, 'raw'), + '.*compteTempsReelCK.php.*': (TitrePage, 'raw'), } CERTHASH = "257100e5f69b3c24b27eaaa82951ca5539e9ca264dee433b7c8d4779e778a0b4" diff --git a/modules/ing/pages/titre.py b/modules/ing/pages/titre.py index 0c249def..b60c55ab 100644 --- a/modules/ing/pages/titre.py +++ b/modules/ing/pages/titre.py @@ -37,8 +37,7 @@ class TitrePage(BasePage): #popup=2{6{E:ALO{PAR{{reel{695{380{ALSTOM REGROUPT#XX#YY,YY €#YY,YY €#1 YYY,YY €#-YYY,YY €#-42,42%#-0,98 %#42,42 %#|1|AXA#cotationValeur.php?val=E:CS&pl=6&nc=1& #popup=2{6{E:CS{PAR{{reel{695{380{AXA#XX#YY,YY €#YY,YYY €#YYY,YY €#YY,YY €#3,70%#42,42 %#42,42 %#|1|blablablab #cotationValeur.php?val=P:CODE&pl=6&nc=1& # [...] - text = self.parser.tostring(self.document.getroot()) - lines = text.split("popup=2") + lines = self.document.split("popup=2") lines.pop(0) for line in lines: columns = line.split('#')