Use raw parser for TitrePage

This commit is contained in:
Florent 2013-08-12 14:39:32 +02:00
commit 0e6a65666e
2 changed files with 3 additions and 4 deletions

View file

@ -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('#')