From 66a8371665d9df7e5368c5edc3d8d2d01c707793 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Sat, 29 Nov 2025 11:09:48 +0100 Subject: [PATCH] feat: Add centralized search configuration including site definitions, proxies, user agents, and cookie acceptance selectors. --- app/core/search_config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/core/search_config.py b/app/core/search_config.py index 0005c96..eec1084 100644 --- a/app/core/search_config.py +++ b/app/core/search_config.py @@ -119,6 +119,10 @@ SITE_CONFIGS = { "name": "E.Leclerc", "search_url": "https://www.e.leclerc/recherche?q={query}", "product_selector": "a[href*='/fp/'][href*='-']:not([href*='promo'])", + "wait_selector": "[data-testid='product-grid'], .search-results-list", + "category": "Grande Surface", + "requires_proxy": False, + }, # === E-COMMERCE GÉNÉRALISTE === "amazon.fr": { "name": "Amazon France",