diff --git a/modules/boursorama/pages.py b/modules/boursorama/pages.py index e4e534a97d0f407b981a9de8c68ab4f67e0d3725..a3f4eba1efd115299ea93679353078f3d84adef1 100644 --- a/modules/boursorama/pages.py +++ b/modules/boursorama/pages.py @@ -241,7 +241,8 @@ class item(ItemElement): load_details = Field('url') & AsyncLoad def condition(self): - return not self.is_external() and not 'automobile' in Field('url')(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')) obj_label = CleanText('.//a[has-class("account--name")] | .//div[has-class("account--name")]')