feat: 为出站请求统一接入 HTTP 代理
This commit is contained in:
@@ -723,6 +723,7 @@ async def _start_visible(site: SiteInteractor, settings) -> None:
|
||||
site._browser = await site._playwright.chromium.launch( # noqa: SLF001
|
||||
headless=False,
|
||||
channel=settings.browser_channel or None,
|
||||
proxy=settings.playwright_proxy,
|
||||
args=["--no-first-run", "--disable-blink-features=AutomationControlled"],
|
||||
)
|
||||
site._context = await site._browser.new_context( # noqa: SLF001
|
||||
|
||||
Reference in New Issue
Block a user