mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-24 15:48:11 +02:00
feat: Add centralized search configuration including site definitions, proxies, user agents, and cookie acceptance selectors.
This commit is contained in:
1 parent
0f5c6dc1c6
commit
66a8371665
1 file changed
+4
@@ -119,6 +119,10 @@ SITE_CONFIGS = {
|
|||||||
"name": "E.Leclerc",
|
"name": "E.Leclerc",
|
||||||
"search_url": "https://www.e.leclerc/recherche?q={query}",
|
"search_url": "https://www.e.leclerc/recherche?q={query}",
|
||||||
"product_selector": "a[href*='/fp/'][href*='-']:not([href*='promo'])",
|
"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 ===
|
# === E-COMMERCE GÉNÉRALISTE ===
|
||||||
"amazon.fr": {
|
"amazon.fr": {
|
||||||
"name": "Amazon France",
|
"name": "Amazon France",
|
||||||
|
|||||||
Reference in new issue
Block a user