Releases: Ljzd-PRO/KToolBox
Releases · Ljzd-PRO/KToolBox
v0.12.0
Changes
💡 Feature
- Supports resuming downloads using temporary files to restore the download process - (#205) by @kgbq3nu6s9ptn3jr
💡 新特性
- 支持断点续传,借助临时下载文件恢复下载 - (#205) by @kgbq3nu6s9ptn3jr
Full Changelog: v0.11.1...v0.12.0
v0.11.1
v0.11.0
Changes
💡 Feature
- The
search-creator
command will include search results with similar names.- For example, the search parameter
--name abc
might return author information such as:abc, abcd, hi-abc
- For example, the search parameter
- Share an HTTPX client to reuse underlying TCP connections through an HTTP connection pool when calling APIs and downloading,
significantly improving query and download speeds as well as connection stability
💡 新特性
search-creator
搜索作者的命令将包含那些名字相近的搜索结果- 如搜索参数
--name abc
可能得到如下作者信息:abc, abcd, hi-abc
- 如搜索参数
- 共享 HTTPX 客户端,调用 API 和下载时将通过 HTTP 连接池重用底层 TCP 连接,显著提升查询、下载速度和连接稳定性
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Changes
💡 Feature
- Added a graphical configuration editor, making configuration editing simple and convenient.
- Run
ktoolbox config-editor
- Run
- Added a command to generate a complete sample configuration file.
- Run
ktoolbox example-env
- Run
- Python versions below 3.8.1 (<3.8.1) are no longer supported
💡 新特性
- 新增 图形化配置编辑器,配置编辑将变得简单方便
- 运行
ktoolbox config-editor
- 运行
- 新增命令可生成完整的配置文件样例
- 运行
ktoolbox example-env
- 运行
- Python 3.8.1 以下 (<3.8.1) 的版本不再受支持
Full Changelog: v0.9.0...v0.10.0
v0.10.0-beta.2
Changes
💡 Feature
- Added a graphical configuration editor, making configuration editing simple and convenient.
- Run
ktoolbox config-editor
- Run
- Added a command to generate a complete sample configuration file.
- Run
ktoolbox example-env
- Run
- Python versions below 3.8.1 (<3.8.1) are no longer supported
💡 新特性
- 新增 图形化配置编辑器,配置编辑将变得简单方便
- 运行
ktoolbox config-editor
- 运行
- 新增命令可生成完整的配置文件样例
- 运行
ktoolbox example-env
- 运行
- Python 3.8.1 以下 (<3.8.1) 的版本不再受支持
Full Changelog: v0.9.0...v0.10.0-beta.2
v0.10.0-beta.1
Changes
💡 Feature
- Added a graphical configuration editor, making configuration editing simple and convenient.
- Run
ktoolbox config-editor
- Run
- Added a command to generate a complete sample configuration file.
- Run
ktoolbox example-env
- Run
💡 新特性
- 新增图形化配置编辑器,配置编辑将变得简单方便
- 运行
ktoolbox config-editor
- 运行
- 新增命令可生成完整的配置文件样例
- 运行
ktoolbox example-env
- 运行
Full Changelog: v0.9.0...v0.10.0-beta.1
v0.9.0
Changes
💡 Feature
- Show the download job status each 30s (waiting, running, completed%)
- Shortened the log length
- E.g.
2024-10-05 20:12:37 | WARNING | ktoolbox.job.runner - Download file already exists, skipping ...
- E.g.
🪲 Fix
- Fix error when attempting to download files which posses too long names (invalid names) (#150)
- For example the wrong filename like this:
https://www.patreon.com/media-u/Z0FBQUFBQm........=#12345678_
KToolBox can get the correct filename:6edd5bdae......0e7f913.png
- For example the wrong filename like this:
💡 新特性
- 每隔 30 秒显示下载任务状态(等待中、运行中、已完成%)
- 缩短了日志长度
- 例如
2024-10-05 20:12:37 | WARNING | ktoolbox.job.runner - Download file already exists, skipping ...
- 例如
🪲 修复
- 修复下载过长文件名(非法文件名)的文件时报错的问题 (#150)
- 例如这样的错误文件名:
https://www.patreon.com/media-u/Z0FBQUFBQm........=#12345678_
KToolBox 可以获取到正确的文件名:6edd5bdae......0e7f913.png
- 例如这样的错误文件名:
Full Changelog: v0.8.0...v0.9.0
v0.9.0-beta.1
Changes
💡 Feature
- Show the download job status each 30s (waiting, running, completed%)
- Shortened the log length
- E.g.
2024-10-05 20:12:37 | WARNING | ktoolbox.job.runner - Download file already exists, skipping ...
- E.g.
🪲 Fix
- Fix error when attempting to download files which posses too long names (invalid names) (#150)
- For example the wrong filename like this:
https://www.patreon.com/media-u/Z0FBQUFBQm........=#12345678_
KToolBox can get the correct filename:6edd5bdae......0e7f913.png
- For example the wrong filename like this:
💡 新特性
- 每隔 30 秒显示下载任务状态(等待中、运行中、已完成%)
- 缩短了日志长度
- 例如
2024-10-05 20:12:37 | WARNING | ktoolbox.job.runner - Download file already exists, skipping ...
- 例如
🪲 修复
- 修复下载过长文件名(非法文件名)的文件时报错的问题 (#150)
- 例如这样的错误文件名:
https://www.patreon.com/media-u/Z0FBQUFBQm........=#12345678_
KToolBox 可以获取到正确的文件名:6edd5bdae......0e7f913.png
- 例如这样的错误文件名:
Full Changelog: v0.8.0...v0.9.0
v0.8.0
Changes
💡 Feature
- Stop using binary prefix (IEEE 1541-2002) in download speed unit (use
KB
,MB
, ... instead ofKiB
,MiB
, ...) - Stop downloading when failing to retrieve the creator's name, instead of using the creator ID as the directory name to continue downloading
- In addition to the
prod.env
file, KToolBox also reads configurations from the.env
file - When KToolBox starts, it will output the configuration details for user inspection
🪲 Fix
- Fix the issue where the log output interrupts the download progress bar
- Fix the
job.filename_format
configuration, where{}
is simply replaced with the filename and extension without considering its position- 📖More information: Configuration-Reference-JobConfiguration
# Rename attachments in numerical order, e.g. `1.png`, `2.png`, ... KTOOLBOX_JOB__SEQUENTIAL_FILENAME=True # `{}`: Basic filename # Rename attachments to `1_[2024-1-1].png`, `2_[2024-1-1].png`, ... KTOOLBOX_JOB__FILENAME_FORMAT="{}_[{published}]"
- 📖More information: Configuration-Reference-JobConfiguration
💡 新特性
- 停止在下载速度单位中使用二进制前缀(IEEE 1541-2002)(使用
KB
,MB
, ... 而不是KiB
,MiB
, ...) - 获取作者名称失败时停止下载,而不是采用作者ID作为目录名继续下载
- 除了
prod.env
文件以外,KToolBox 也会从.env
文件读取配置 - KToolBox 启动时将会输出配置详情,以便用户检查
🪲 修复
- 修复下载进度条被输出的日志打断的问题
- 修复
job.filename_format
文件名格式配置中的{}
被简单地替换成文件名和后缀,而没有考虑其所在位置的问题- 📖更多信息: 配置-参考-JobConfiguration
# 按照数字顺序重命名附件, 例如 `1.png`, `2.png`, ... KTOOLBOX_JOB__SEQUENTIAL_FILENAME=True # `{}`:基本文件名 # 附件将被重命名为 `1_[2024-1-1].png`, `2_[2024-1-1].png`, ... KTOOLBOX_JOB__FILENAME_FORMAT="{}_[{published}]"
- 📖更多信息: 配置-参考-JobConfiguration
Full Changelog: v0.7.0...v0.8.0
v0.7.0
Changes
💡 Feature
- Add support for customizing filename:
- Edit
KTOOLBOX_JOB__FILENAME_FORMAT
inprod.env
or environment variables to set this option (#116) - 📖More information: Configuration-Reference-JobConfiguration
# Rename attachments in numerical order, e.g. `1.png`, `2.png`, ... KTOOLBOX_JOB__SEQUENTIAL_FILENAME=True # `{}`: Basic filename # Can be used with the configuration option above. # Rename attachments to `[2024-1-1]_1.png`, `[2024-1-1]_2.png`, ... KTOOLBOX_JOB__FILENAME_FORMAT="[{published}]_{}"
- Edit
- Change default post text content filename
index.html
tocontent.txt
💡 新特性
- 支持自定义下载的文件名格式:
- 在
prod.env
或环境变量中编辑KTOOLBOX_JOB__FILENAME_FORMAT
以设置该选项 (#116) - 📖更多信息: 配置-参考-JobConfiguration
# 按照数字顺序重命名附件, 例如 `1.png`, `2.png`, ... KTOOLBOX_JOB__SEQUENTIAL_FILENAME=True # `{}`:基本文件名 # 可以和上面的配置选项搭配使用 # 附件将被重命名为 `[2024-1-1]_1.png`, `[2024-1-1]_2.png`, ... KTOOLBOX_JOB__FILENAME_FORMAT="[{published}]_{}"
- 在
- 更改默认的作品文本内容文件名
index.html
为content.txt
Full Changelog: v0.6.0...v0.7.0