• Florent Viard's avatar
    [bp] Fixes coming history that was returning incorrect labels · 99053629
    Florent Viard authored
    Here are exemples of labels that were returned for coming transactions:
    data-titrepopinv2="Détail d'une opération" >PREL D
    data-titrepopinv2="Détail d'une opération" >FR6720
    data-titrepopinv2="Détail d'une opération" >200410
    
    It should have been:
    PREL DE MATMUT ROUEN
    FR672045353464765875867865556435
    200410414141414141414343
    
    The previous code was not working well because there are two "<a>"
    elements, one at the root and one inside a "<noscript>" element.
    Sadly the one inside the noscript element is kind of broken:
    <a class="popinV3"
    href="../../comptesCommun/detailoperation/operation-detail_operation.ea?idxOperation=0&amp;typeOperation=OAV"
    target="_blank"> data-titrepopinv2="D&#233;tail d\'une op&#233;ration"
    &gt;PREL DE MATMUT ROUEN
    
    The a element is incorrectly closed after "blank" and the real end
    symbol is escaped.
    
    To be noted: this way to extract the transaction is only related to
    coming transactions. For normal history, the line content is extracted
    by the previous part of the code, and is based on a span element and no
    "noscript".
    99053629
Name
Last commit
Last update
.ci Loading commit data...
.gitlab/issue_templates Loading commit data...
contrib Loading commit data...
desktop Loading commit data...
docs Loading commit data...
icons Loading commit data...
man Loading commit data...
modules Loading commit data...
tools Loading commit data...
weboob Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
MANIFEST.in Loading commit data...
MANIFEST.in.modules Loading commit data...
README.md Loading commit data...
build.mk Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...