feat: 为出站请求统一接入 HTTP 代理
This commit is contained in:
@@ -56,6 +56,7 @@ async def run(item_url: str, *, headful: bool) -> int:
|
||||
browser = await pw.chromium.launch(
|
||||
headless=not headful,
|
||||
channel=settings.browser_channel or None,
|
||||
proxy=settings.playwright_proxy,
|
||||
args=["--no-first-run", "--disable-blink-features=AutomationControlled"],
|
||||
)
|
||||
context = await browser.new_context(
|
||||
|
||||
Reference in New Issue
Block a user