From 45a508033232c1c3116778217b8ffee62ee07e0d Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 4 Nov 2012 15:37:01 +0100 Subject: [PATCH] correctly parse label of deferred card transactions --- modules/boursorama/pages/account_history.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/boursorama/pages/account_history.py b/modules/boursorama/pages/account_history.py index 9b20bb57..dfbf3423 100644 --- a/modules/boursorama/pages/account_history.py +++ b/modules/boursorama/pages/account_history.py @@ -60,6 +60,8 @@ class AccountHistory(BasePage): labeldiv = tds[2].find('div') label = u'' label += labeldiv.text + if labeldiv.find('a') is not None: + label += labeldiv.find('a').text label = label.strip(u' \n\t') category = labeldiv.attrib.get('title', '')