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}

View File

@ -1,6 +1,7 @@
**项目更新内容:**
1. 优化文件后缀处理逻辑
2. 优化代理测试逻辑
<p><strong>旧版本升级后首次运行请删除配置文件 <code>settings.json</code>,删除后重新运行程序会自动生成新的默认配置文件!</strong></p>