perf(manager.py): 优化代理测试逻辑

This commit is contained in:
JoeanAmier
2024-09-08 13:10:16 +08:00
parent 5b85379d49
commit 76c4699e05
2 changed files with 2 additions and 1 deletions

View File

@@ -191,7 +191,7 @@ class Manager:
def __check_proxy(
self,
proxy: str | dict,
url="https://www.baidu.com/",
url="https://www.xiaohongshu.com/explore",
) -> dict:
if not proxy:
return {"proxies": self.NO_PROXY}