From 6b1cacf4890b9d2858a645e9eba976e6bde338f0 Mon Sep 17 00:00:00 2001 From: Quentin Defenouillere Date: Mon, 3 Dec 2018 18:12:32 +0100 Subject: [PATCH] [boursorama] Added 'assurance/famille' to ignored insurances After assurance/protection, assurance/comptes, the new one in the family is assurance/famille. It's really nice of them to add these one after another so we can push a new MR for each new insurance. Closes: 29070@sibi --- modules/boursorama/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/boursorama/pages.py b/modules/boursorama/pages.py index 79d6c3e619..ba882ab8f8 100644 --- a/modules/boursorama/pages.py +++ b/modules/boursorama/pages.py @@ -242,7 +242,7 @@ class item(ItemElement): def condition(self): # Ignore externally aggregated accounts and insurances: - return not self.is_external() and not any(x in Field('url')(self) for x in ('automobile', 'assurance/protection', 'assurance/comptes')) + return not self.is_external() and not any(x in Field('url')(self) for x in ('automobile', 'assurance/protection', 'assurance/comptes', 'assurance/famille')) obj_label = CleanText('.//a[has-class("account--name")] | .//div[has-class("account--name")]') -- GitLab