There was an error while loading. Please reload this page.
1 parent f814462 commit 6d2a750Copy full SHA for 6d2a750
1 file changed
akari_bot_webrender/functions/browser.py
@@ -85,7 +85,7 @@ async def new_page(self,
85
ctx_key = f"{width}x{height}_{locale}{"_stealth" if stealth else ""}"
86
if ctx_key not in self.contexts:
87
self.contexts[ctx_key] = await self.browser.new_context(
88
- user_agent=browser_user_agent if stealth else self.user_agent,
+ user_agent=browser_user_agent if stealth else base_user_agent,
89
viewport=ViewportSize(width=width, height=height),
90
locale=locale
91
)
0 commit comments