Skip to content

Commit 6d2a750

Browse files
committed
fix
1 parent f814462 commit 6d2a750

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

akari_bot_webrender/functions/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def new_page(self,
8585
ctx_key = f"{width}x{height}_{locale}{"_stealth" if stealth else ""}"
8686
if ctx_key not in self.contexts:
8787
self.contexts[ctx_key] = await self.browser.new_context(
88-
user_agent=browser_user_agent if stealth else self.user_agent,
88+
user_agent=browser_user_agent if stealth else base_user_agent,
8989
viewport=ViewportSize(width=width, height=height),
9090
locale=locale
9191
)

0 commit comments

Comments
 (0)