mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-23 23:28:12 +02:00
feat: Add Stokomani raw HTML data and new search configuration.
This commit is contained in:
1 parent
66a8371665
commit
7f85a9764c
2 files changed
+32165
-2
No files matched your search
@@ -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
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user