Commit 99053629 authored by Committed by Vincent A
[bp] Fixes coming history that was returning incorrect labels
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&typeOperation=OAV" target="_blank"> data-titrepopinv2="Détail d\'une opération" >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".
Showing with 2 additions and 2 deletions