🕷️ 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
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
fix(browsers): Improve stealth and speed by adjusting flags
Karim shoair65f1a23358b5
diff --git a/scrapling/engines/constants.py b/scrapling/engines/constants.pyindex 231e0c0..9cd738e 100644--- a/scrapling/engines/constants.py+++ b/scrapling/engines/constants.py@@ -30,6 +30,7 @@ DEFAULT_FLAGS = ("--no-service-autorun","--homepage=about:blank","--password-store=basic",+ "--disable-hang-monitor","--no-default-browser-check","--disable-session-crashed-bubble","--disable-search-engine-choice-screen",@@ -96,5 +97,5 @@ DEFAULT_STEALTH_FLAGS = ("--disable-component-extensions-with-background-pages","--enable-features=NetworkService,NetworkServiceInProcess,TrustTokens,TrustTokensAlwaysAllowIssuance","--blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4",- "--disable-features=AudioServiceOutOfProcess,IsolateOrigins,site-per-process,TranslateUI,BlinkGenPropertyTrees",+ "--disable-features=AudioServiceOutOfProcess,TranslateUI,BlinkGenPropertyTrees",)