mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-24 07:38:13 +02:00
feat: Add new search service for multi-site product search and item detail scraping.
This commit is contained in:
1 parent
74bdcfa63e
commit
5d7f872dae
2 files changed
+41
-19
No files matched your search
@@ -82,11 +82,9 @@ SITE_CONFIGS = {
|
||||
"name": "Action",
|
||||
"search_url": "https://www.action.com/fr-fr/search/?q={query}",
|
||||
"product_selector": "a.group[href^='/fr-fr/p/']",
|
||||
"search_url": "https://www.amazon.fr/s?k={query}",
|
||||
"product_selector": "div[data-asin]:not([data-asin='']) h2 a",
|
||||
"wait_selector": "[data-component-type='s-search-result']",
|
||||
"category": "E-commerce",
|
||||
"requires_proxy": True,
|
||||
"wait_selector": "a.group[href^='/fr-fr/p/']",
|
||||
"category": "Discount",
|
||||
"requires_proxy": False,
|
||||
},
|
||||
"cdiscount.com": {
|
||||
"name": "Cdiscount",
|
||||
|
||||
Reference in new issue
Block a user