mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2025-12-26 04:48:05 +08:00
perf(manager.py): 优化代理测试逻辑
This commit is contained in:
parent
5b85379d49
commit
76c4699e05
@ -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}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
**项目更新内容:**
|
||||
|
||||
1. 优化文件后缀处理逻辑
|
||||
2. 优化代理测试逻辑
|
||||
|
||||
<p><strong>旧版本升级后首次运行请删除配置文件 <code>settings.json</code>,删除后重新运行程序会自动生成新的默认配置文件!</strong></p>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user