diff --git a/README.md b/README.md
index 12a9f34..d731bb6 100644
--- a/README.md
+++ b/README.md
@@ -65,7 +65,7 @@
⭐ 推荐使用 Windows 终端 (Windows 11 默认终端)运行程序以便获得最佳显示效果!
🥣 使用方法
如果仅需下载无水印作品文件,建议选择 程序运行 或 Docker 运行;如果有其他需求,建议选择 源码运行!
-建议自行设置 cookie 参数,若不设置该参数,程序功能可能无法正常使用!
+2.2 版本开始,项目功能无异常的情况下,无需额外处理 Cookie!
🖱 程序运行
Mac OS、Windows 10 及以上用户可前往 Releases 下载程序压缩包,解压后打开程序文件夹,双击运行 main 即可使用。
注意:Mac OS 平台可执行文件 main 可能需要从终端命令行启动;受设备限制,Mac OS 平台可执行文件尚未经过测试,无法保证可用性!
@@ -181,8 +181,6 @@ async def example():
work_path = "D:\\" # 作品数据/文件保存根路径,默认值:项目根路径
folder_name = "Download" # 作品文件储存文件夹名称(自动创建),默认值:Download
name_format = "作品标题 作品描述"
- # sec_ch_ua = "" # 请求头 Sec-Ch-Ua
- # sec_ch_ua_platform = "" # 请求头 Sec-Ch-Ua-Platform
user_agent = "" # User-Agent
cookie = "" # 小红书网页版 Cookie,无需登录,可选参数,登录状态对数据采集有影响
proxy = None # 网络代理
@@ -198,8 +196,6 @@ async def example():
work_path=work_path,
folder_name=folder_name,
name_format=name_format,
- # sec_ch_ua=sec_ch_ua,
- # sec_ch_ua_platform=sec_ch_ua_platform,
user_agent=user_agent,
cookie=cookie,
proxy=proxy,
@@ -256,18 +252,6 @@ async def example():
发布时间 作者昵称 作品标题 |
-sec_ch_ua(已废弃) |
-str |
-浏览器请求头 Sec-Ch-Ua |
-内置 Chrome Sec-Ch-Ua |
-
-
-sec_ch_ua_platform(已废弃) |
-str |
-浏览器请求头 Sec-Ch-Ua-Platform |
-内置 Chrome Sec-Ch-Ua-Platform |
-
-
| user_agent |
str |
浏览器 User Agent |
@@ -312,7 +296,7 @@ async def example():
| image_format |
str |
-图文作品文件下载格式,支持:PNG、WEBP |
+图文作品文件下载格式,支持:PNG、WEBP 该参数影响下载图片时所用的接口,并非固定图片格式! |
PNG |
diff --git a/README_EN.md b/README_EN.md
index a9eab83..8220482 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -66,7 +66,7 @@
⭐ It is recommended to use the Windows Terminal (default terminal for Windows 11) to run the program for the best display effect!
🥣 Usage
If you only need to download watermark-free content files, it is recommended to choose Program Run; if you have other needs, it is recommended to choose Source Code Run!
-It is recommended to set the cookie parameter manually; if this parameter is not set, the program functions may not work properly!
+Starting from version 2.2, if there are no abnormalities in project functionality, there is no need to handle cookies separately!
🖱 Program Run
Mac OS, Windows 10 and above users can go to Releases to download the program package, unzip it, open the program folder, and double-click to run main to use.
Note: The executable file main for Mac OS may need to be launched from the terminal command line; Due to device limitations, the Mac OS executable file has not been tested and its availability cannot be guaranteed!
@@ -185,8 +185,6 @@ async def example():
work_path = "D:\\" # 作品数据/文件保存根路径,默认值:项目根路径
folder_name = "Download" # 作品文件储存文件夹名称(自动创建),默认值:Download
name_format = "作品标题 作品描述"
- # sec_ch_ua = "" # 请求头 Sec-Ch-Ua
- # sec_ch_ua_platform = "" # 请求头 Sec-Ch-Ua-Platform
user_agent = "" # User-Agent
cookie = "" # 小红书网页版 Cookie,无需登录,可选参数,登录状态对数据采集有影响
proxy = None # 网络代理
@@ -202,8 +200,6 @@ async def example():
work_path=work_path,
folder_name=folder_name,
name_format=name_format,
- # sec_ch_ua=sec_ch_ua,
- # sec_ch_ua_platform=sec_ch_ua_platform,
user_agent=user_agent,
cookie=cookie,
proxy=proxy,
@@ -260,18 +256,6 @@ async def example():
publish_time author_nickname title |
-sec_ch_ua(Deprecated) |
-str |
-Browser request header Sec-Ch-Ua |
-Built-in Chrome Sec-Ch-Ua |
-
-
-sec_ch_ua_platform(Deprecated) |
-str |
-Browser request header Sec-Ch-Ua-Platform |
-Built-in Chrome Sec-Ch-Ua-Platform |
-
-
| user_agent |
str |
Browser User Agent |
@@ -316,7 +300,7 @@ async def example():
| image_format |
str |
-Download format for text and image content files, supported formats: PNG, WEBP |
+Download format for text and image content files, supported formats: PNG, WEBP This parameter affects the API used when downloading images, not the fixed image format! |
PNG |
diff --git a/main.py b/main.py
index 1cff9b6..ab6469e 100644
--- a/main.py
+++ b/main.py
@@ -19,8 +19,6 @@ async def example():
work_path = "D:\\" # 作品数据/文件保存根路径,默认值:项目根路径
folder_name = "Download" # 作品文件储存文件夹名称(自动创建),默认值:Download
name_format = "作品标题 作品描述"
- # sec_ch_ua = "" # 请求头 Sec-Ch-Ua
- # sec_ch_ua_platform = "" # 请求头 Sec-Ch-Ua-Platform
user_agent = "" # User-Agent
cookie = "" # 小红书网页版 Cookie,无需登录,可选参数,登录状态对数据采集有影响
proxy = None # 网络代理
@@ -36,8 +34,6 @@ async def example():
work_path=work_path,
folder_name=folder_name,
name_format=name_format,
- # sec_ch_ua=sec_ch_ua,
- # sec_ch_ua_platform=sec_ch_ua_platform,
user_agent=user_agent,
cookie=cookie,
proxy=proxy,