feat: add NewSearchService to orchestrate multi-site e-commerce searches and scrape item details.

This commit is contained in:
Michael committed 2025-11-29 17:10:20 +01:00
1 parent 48d1ab3a05
commit 420dd3144a
2 files changed
+40 -30

No files matched your search

-17
View File
@@ -105,23 +105,6 @@ SITE_CONFIGS = {
"search_url": "https://www.auchan.fr/recherche?text={query}",
"product_selector": "article a[href]",
"wait_selector": "article",
"category": "Grande Surface",
"requires_proxy": False,
},
"centrakor.com": {
"name": "Centrakor",
"search_url": "https://www.centrakor.com/catalogsearch/result/?q={query}",
"product_selector": ".product-item a.product-item-link, .product-item-info a",
"wait_selector": ".products-grid, .product-items",
"category": "Déco & Maison",
"requires_proxy": False,
"pre_search_selector": "button.storelocator-search__button--go",
},
"lincroyable.fr": {
"name": "L'Incroyable",
"search_url": "https://www.lincroyable.fr/recherche-query={query}/?",
"product_selector": "a[href^='/p']",
"wait_selector": ".products, .product-miniature",
"category": "Déco & Maison",
"requires_proxy": False,
},