Skip to content

Releases: Ljzd-PRO/KToolBox

v0.12.0

12 Dec 13:38
Compare
Choose a tag to compare

Changes

Downloads

💡 Feature

  • Supports resuming downloads using temporary files to restore the download process - (#205) by @kgbq3nu6s9ptn3jr

💡 新特性

Full Changelog: v0.11.1...v0.12.0

v0.11.1

03 Dec 17:25
4e15e61
Compare
Choose a tag to compare

Changes

Downloads

🪲 Fix

  • Update the API for retrieving post information and fix the get-post and download-post commands (#198) (#180)

🪲 修复

  • 更新获取作品信息的 API,修复 get-postdownload-post 命令 (#198) (#180)

Full Changelog: v0.11.0...v0.11.1

v0.11.0

18 Nov 19:23
cf5c12c
Compare
Choose a tag to compare

Changes

Downloads

💡 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
  • 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

26 Oct 11:31
492d446
Compare
Choose a tag to compare

Changes

Downloads

💡 Feature

  • Added a graphical configuration editor, making configuration editing simple and convenient.
    • Run ktoolbox config-editor
  • Added a command to generate a complete sample configuration file.
    • Run ktoolbox example-env
  • 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

26 Oct 01:07
Compare
Choose a tag to compare
v0.10.0-beta.2 Pre-release
Pre-release

Changes

💡 Feature

  • Added a graphical configuration editor, making configuration editing simple and convenient.
    • Run ktoolbox config-editor
  • Added a command to generate a complete sample configuration file.
    • Run ktoolbox example-env
  • 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

25 Oct 04:48
Compare
Choose a tag to compare
v0.10.0-beta.1 Pre-release
Pre-release

Changes

💡 Feature

  • Added a graphical configuration editor, making configuration editing simple and convenient.
    • Run ktoolbox config-editor
  • Added a command to generate a complete sample configuration file.
    • Run ktoolbox example-env

💡 新特性

  • 新增图形化配置编辑器,配置编辑将变得简单方便
    • 运行 ktoolbox config-editor
  • 新增命令可生成完整的配置文件样例
    • 运行 ktoolbox example-env

Full Changelog: v0.9.0...v0.10.0-beta.1

v0.9.0

12 Oct 10:19
0183910
Compare
Choose a tag to compare

Changes

Downloads

💡 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 ...

🪲 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

💡 新特性

  • 每隔 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

05 Oct 12:46
Compare
Choose a tag to compare
v0.9.0-beta.1 Pre-release
Pre-release

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 ...

🪲 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

💡 新特性

  • 每隔 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

04 Oct 18:51
bfeb5e9
Compare
Choose a tag to compare

Changes

💡 Feature

  • Stop using binary prefix (IEEE 1541-2002) in download speed unit (use KB, MB, ... instead of KiB, 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}]"

💡 新特性

  • 停止在下载速度单位中使用二进制前缀(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}]"

Full Changelog: v0.7.0...v0.8.0

v0.7.0

24 May 18:05
2f3d642
Compare
Choose a tag to compare

Changes

💡 Feature

  • Add support for customizing filename:
    • Edit KTOOLBOX_JOB__FILENAME_FORMAT in prod.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}]_{}"
  • Change default post text content filename index.html to content.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.htmlcontent.txt

Full Changelog: v0.6.0...v0.7.0