diff --git a/Dockerfile b/Dockerfile
index 2582285..c14bc94 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ LABEL name="XHS-Downloader" authors="JoeanAmier" repository="https://github.com/
COPY locale /app/locale
COPY source /app/source
-COPY static /app/static
+COPY static/XHS-Downloader.tcss /app/static/XHS-Downloader.tcss
COPY LICENSE /app/LICENSE
COPY main.py /app/main.py
COPY requirements.txt /app/requirements.txt
diff --git a/README.md b/README.md
index ee28bf5..893f21a 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,6 @@
🔥 小红书链接提取/作品采集工具:提取账号发布、收藏、点赞、专辑作品链接;提取搜索结果作品链接、用户链接;采集小红书作品信息;提取小红书作品下载地址;下载小红书无水印作品文件!
-⚠️ 2024/9/24: 由于小红书规则更新,使用版本号低于 1.7.1 的用户脚本有封号风险,请及时更新用户脚本后再使用!
⭐ 本项目完全免费开源,无任何收费功能,请勿上当受骗!
📑 项目功能
程序功能
diff --git a/README_EN.md b/README_EN.md
index 4857d32..8f08161 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -14,7 +14,6 @@
🔥 Xiaohongshu Link Extraction/Content Collection Tool:Extract account-published, favorited, and liked content links; extract search result content links and user links; collect Xiaohongshu content information; extract Xiaohongshu content download addresses; download Xiaohongshu watermark-free content files!
-⚠️ 2024/9/24: Due to rule updates on Xiaohongshu, there is a risk of account suspension for user scripts with version numbers lower than 1.7.1 Please update the user scripts in a timely manner before using them!
⭐ This project is completely free and open-source, with no paid features. Please do not be deceived!
⭐ Due to the author's limited energy, I was unable to update the English document in a timely manner, and the content may have become outdated, partial translation is machine translation, the translation result may be incorrect, Suggest referring to Chinese documentation. If you want to contribute to translation, we warmly welcome you.
📑 Project Features
diff --git a/source/expansion/browser.py b/source/expansion/browser.py
index 246c2e3..e8d784b 100644
--- a/source/expansion/browser.py
+++ b/source/expansion/browser.py
@@ -31,14 +31,15 @@ class BrowserCookie:
"Firefox": (firefox, "Linux, macOS, Windows"),
"LibreWolf": (librewolf, "Linux, macOS, Windows"),
}
- TIP = "Windows 系统需要以管理员身份运行程序才能读取 Chromium、Chrome、Edge 浏览器 Cookie!"
@classmethod
def run(cls, domains: list[str], console: Console = None, ) -> str:
console = console or Console()
options = "\n".join(f"{i}. {k}: {v[1]}" for i, (k, v) in enumerate(cls.SUPPORT_BROWSER.items(), start=1))
if browser := console.input(
- f"读取指定浏览器的 Cookie 并写入配置文件;注意:{cls.TIP}\n{options}\n请输入浏览器名称或序号:", ):
+ f"读取指定浏览器的 Cookie 并写入配置文件\n"
+ f"Windows 系统需要以管理员身份运行程序才能读取 Chromium、Chrome、Edge 浏览器 Cookie!\n"
+ f"{options}\n请输入浏览器名称或序号:", ):
return cls.get(browser, domains, console, )
console.print("未选择浏览器!")
diff --git a/source/module/static.py b/source/module/static.py
index 7f897c7..0ddd2b0 100644
--- a/source/module/static.py
+++ b/source/module/static.py
@@ -2,7 +2,7 @@ from pathlib import Path
VERSION_MAJOR = 2
VERSION_MINOR = 3
-VERSION_BETA = True
+VERSION_BETA = False
ROOT = Path(__file__).resolve().parent.parent.parent
PROJECT = f"XHS-Downloader V{VERSION_MAJOR}.{
VERSION_MINOR}{" Beta" if VERSION_BETA else ""}"
@@ -65,4 +65,4 @@ FILE_SIGNATURES: tuple[tuple[int, bytes, str,], ...] = (
)
FILE_SIGNATURES_LENGTH = max(offset + len(signature) for offset, signature, _ in FILE_SIGNATURES)
-MAX_WORKERS: int = 3
+MAX_WORKERS: int = 4
diff --git a/source/module/translator.py b/source/module/translator.py
index ce58abc..f3524fd 100644
--- a/source/module/translator.py
+++ b/source/module/translator.py
@@ -1,6 +1,6 @@
from gettext import translation
-from source.module import ROOT
+from ..module import ROOT
__all__ = ["Translate"]
diff --git a/static/Release_Notes.md b/static/Release_Notes.md
index 035f8df..931e5d8 100644
--- a/static/Release_Notes.md
+++ b/static/Release_Notes.md
@@ -1,13 +1,14 @@
**项目更新内容:**
1. 修复下载文件频繁提示失败的问题
-2. 优化从浏览器读取 Cookie 功能
+2. 更新从浏览器读取 Cookie 功能
3. 修复文件名称过长报错的问题
4. 优化已下载文件判断逻辑
-5. 更新文件下载并发数量
-6. 新增文件名称长度限制
-7. 优化文件后缀处理逻辑
-8. 优化代理测试逻辑
+5. 新增文件名称长度限制
+6. 优化文件后缀处理逻辑
+7. 优化代理测试逻辑
+8. 修复其他已知问题
+9. 优化代码运行逻辑
旧版本升级后首次运行请删除配置文件 settings.json,删除后重新运行程序会自动生成新的默认配置文件!
diff --git a/static/screenshot/程序运行截图CN1.png b/static/screenshot/程序运行截图CN1.png
index 70f5c44..b996edf 100644
Binary files a/static/screenshot/程序运行截图CN1.png and b/static/screenshot/程序运行截图CN1.png differ
diff --git a/static/screenshot/程序运行截图CN2.png b/static/screenshot/程序运行截图CN2.png
index 66a7154..e58a97e 100644
Binary files a/static/screenshot/程序运行截图CN2.png and b/static/screenshot/程序运行截图CN2.png differ
diff --git a/static/screenshot/程序运行截图CN3.png b/static/screenshot/程序运行截图CN3.png
index a9cd593..5e2c7d2 100644
Binary files a/static/screenshot/程序运行截图CN3.png and b/static/screenshot/程序运行截图CN3.png differ