升级 httpx 版本至 0.28.1,并修改关键字参数 proxies 至 proxy

This commit is contained in:
未来可欺
2025-07-31 22:48:02 +08:00
parent 9d90e9fc6d
commit 0b81240aed
19 changed files with 204 additions and 194 deletions

View File

@@ -360,7 +360,7 @@ class ZhihuCrawler(AbstractCrawler):
await self.browser_context.cookies()
)
zhihu_client_obj = ZhiHuClient(
proxies=httpx_proxy,
proxy=httpx_proxy,
headers={
"accept": "*/*",
"accept-language": "zh-CN,zh;q=0.9",