Use raw parser for TitrePage
This commit is contained in:
parent
3a0e3b4028
commit
0e6a65666e
2 changed files with 3 additions and 4 deletions
|
|
@ -43,8 +43,8 @@ class Ing(BaseBrowser):
|
||||||
'.*transferCreateValidation.jsf': TransferConfirmPage,
|
'.*transferCreateValidation.jsf': TransferConfirmPage,
|
||||||
'.*eStatement.jsf': BillsPage,
|
'.*eStatement.jsf': BillsPage,
|
||||||
'.*displayCoordonneesCommand.*': StopPage,
|
'.*displayCoordonneesCommand.*': StopPage,
|
||||||
'.*portefeuille-TR.*': TitrePage,
|
'.*portefeuille-TR.*': (TitrePage, 'raw'),
|
||||||
'.*compteTempsReelCK.php.*': TitrePage,
|
'.*compteTempsReelCK.php.*': (TitrePage, 'raw'),
|
||||||
}
|
}
|
||||||
CERTHASH = "257100e5f69b3c24b27eaaa82951ca5539e9ca264dee433b7c8d4779e778a0b4"
|
CERTHASH = "257100e5f69b3c24b27eaaa82951ca5539e9ca264dee433b7c8d4779e778a0b4"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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: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&
|
#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 = self.document.split("popup=2")
|
||||||
lines = text.split("popup=2")
|
|
||||||
lines.pop(0)
|
lines.pop(0)
|
||||||
for line in lines:
|
for line in lines:
|
||||||
columns = line.split('#')
|
columns = line.split('#')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue