mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-18 12:48:53 +02:00
feat: add direct e-commerce search service using Playwright/Browserless with predefined site configurations
This commit is contained in:
1 parent
5f4d3afbae
commit
8053955097
1 file changed
+5
@@ -559,6 +559,11 @@ async def _search_site_browserless( # noqa: PLR0912, PLR0915
|
||||
viewport={"width": 1920, "height": 1080},
|
||||
user_agent=USER_AGENT,
|
||||
locale="fr-FR",
|
||||
timezone_id="Europe/Paris",
|
||||
extra_http_headers={
|
||||
"Accept-Language": "fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7",
|
||||
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
|
||||
}
|
||||
)
|
||||
|
||||
# Bloquer les ressources inutiles
|
||||
|
||||
Reference in new issue
Block a user