Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

fix(stealth): stop forcing en-US so the browser follows the system locale (fixes #381)

Karim shoair11cd295d6700
diff --git a/scrapling/engines/constants.py b/scrapling/engines/constants.py
index 4bc0014..0fdc1ae 100644
--- a/scrapling/engines/constants.py
+++ b/scrapling/engines/constants.py
@@ -41,14 +41,12 @@ STEALTH_ARGS = (
# Generally this will make the browser faster and less detectable
# "--incognito",
"--test-type",
- "--lang=en-US",
"--mute-audio",
"--disable-sync",
"--hide-scrollbars",
"--disable-logging",
"--start-maximized", # For headless check bypass
"--enable-async-dns",
- "--accept-lang=en-US",
"--use-mock-keychain",
"--disable-translate",
"--disable-voice-input",