feat: introduce centralized search configuration for scraping, including site selectors, proxies, and user agents.

This commit is contained in:
Michael committed 2025-12-01 07:40:50 +01:00
1 parent 36ae466583
commit ffc2f0d632
2 files changed
+56 -44

No files matched your search

+3 -3
View File
@@ -179,9 +179,9 @@ SITE_CONFIGS = {
"action.com": {
"name": "Action",
"search_url": "https://www.action.com/fr-fr/search/?q={query}",
"product_selector": "div.product-card, div.card",
"product_image_selector": "img",
"wait_selector": "div.product-card, div.card",
"product_selector": "div[data-testid='product-card']",
"product_image_selector": "img[data-testid='product-card-image']",
"wait_selector": "div[data-testid='product-card']",
"category": "Discount",
"requires_proxy": True,
},