mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-18 04:38:41 +02:00
feat: introduce centralized search configuration for scraping, including site selectors, proxies, and user agents.
This commit is contained in:
1 parent
36ae466583
commit
ffc2f0d632
2 files changed
+56
-44
No files matched your search
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user