refactor: 移除代理设置以简化浏览器启动配置
This commit is contained in:
parent
a4682a9647
commit
fc29bddab2
@ -31,10 +31,7 @@ class DailymotionClient:
|
||||
|
||||
self._pw = sync_playwright().start()
|
||||
self.browser: Browser = self._pw.chromium.launch(
|
||||
headless=self.headless,
|
||||
proxy={
|
||||
"server": "http://127.0.0.1:7890"
|
||||
}
|
||||
headless=self.headless
|
||||
)
|
||||
self.page: Page = self.browser.new_page()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user