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

PlaywrightFetcher - Make proxies available without enabling stealth

Karim shoair0176bc052371
diff --git a/scrapling/engines/pw.py b/scrapling/engines/pw.py
index 80ff55b..9330094 100644
--- a/scrapling/engines/pw.py
+++ b/scrapling/engines/pw.py
@@ -176,6 +176,7 @@ class PlaywrightEngine:
)
else:
context = browser.new_context(
+ proxy=self.proxy,
color_scheme='dark',
user_agent=useragent,
device_scale_factor=2,