feat: Add Stokomani raw HTML data and new search configuration.

This commit is contained in:
Michael committed 2025-11-29 11:25:49 +01:00
1 parent 66a8371665
commit 7f85a9764c
2 files changed
+32165 -2

No files matched your search

+9 -2
View File
@@ -70,8 +70,8 @@ SITE_CONFIGS = {
"stokomani.fr": { "stokomani.fr": {
"name": "Stokomani", "name": "Stokomani",
"search_url": "https://www.stokomani.fr/search?options%5Bprefix%5D=last&q={query}", "search_url": "https://www.stokomani.fr/search?options%5Bprefix%5D=last&q={query}",
"product_selector": "a[href^='/products/']", "product_selector": ".product-card__title a",
"wait_selector": "a[href^='/products/']", "wait_selector": ".product-card__title a",
"category": "Discount", "category": "Discount",
"requires_proxy": False, "requires_proxy": False,
}, },
@@ -203,4 +203,11 @@ COOKIE_ACCEPT_SELECTORS = [
".mod-shops .close", ".mod-shops .close",
"#shops-modal .close-button", "#shops-modal .close-button",
".ui-dialog-titlebar-close", ".ui-dialog-titlebar-close",
# Action
"#cc-accept",
".cc-btn-accept",
"button[data-testid='uc-accept-all-button']",
"button:has-text('Accepter tout')",
"button:has-text('Accepter')",
"button:has-text('Refuser')",
] ]
+32156
View File
File diff suppressed because it is too large. Load diff