perf: 更新项目默认配置参数

1. 更新项目 README
2. 更新默认 UserAgent
3. 默认图片格式修改为 JPEG
4. 修正项目描述错误
This commit is contained in:
Quan
2026-01-07 20:15:38 +08:00
parent 086ff930e1
commit f68ac8477e
9 changed files with 40 additions and 31 deletions

View File

@@ -16,7 +16,10 @@ RELEASES = "https://github.com/JoeanAmier/XHS-Downloader/releases/latest"
USERSCRIPT = "https://raw.githubusercontent.com/JoeanAmier/XHS-Downloader/master/static/XHS-Downloader.js"
USERAGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36"
USERAGENT = (
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 "
"Safari/537.36 Edg/143.0.0.0"
)
HEADERS = {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,"