Skip to content

Update novel crawler to version 25.07.08#11

Merged
God-2077 merged 1 commit into
mainfrom
dev
Jul 7, 2025
Merged

Update novel crawler to version 25.07.08#11
God-2077 merged 1 commit into
mainfrom
dev

Conversation

@God-2077
Copy link
Copy Markdown
Owner

@God-2077 God-2077 commented Jul 7, 2025

版本更新日志:novel_crawler_v.25.07.08

1. 日志输出优化

  • 新增日志函数:引入了 log_message 函数(位于 novel_crawler_v.25.07.08.py 的 137 - 151 行),使用 rich 库增强日志输出,支持不同日志级别样式及高亮显示。
  • 优化日志输出:原 console_log 函数的部分功能被替代,新日志函数使用更加简洁。

2. 信息显示优化

  • 打印头部信息:新增 print_header 函数调用,在程序开始时打印工具名称和版本信息。
  • 调试信息表格化:使用 print_debug_table 函数将基本配置和网络配置信息以表格形式输出,提高调试信息的可读性。

3. 界面显示优化

  • 使用 rich 库增强界面PanelTable 等组件使用了更丰富的样式和颜色,如 titledataurlhighlight 等样式类,使信息显示更加美观。
  • 增加进度条样式:进度条的样式进行了调整,如 BarColumn 增加了 stylecomplete_style 属性,使进度条更清晰。

4. 封面图片支持

  • 新增封面处理功能:在生成 EPUB 文件时,支持下载和设置封面图片。如果配置了 novel_cover_img,程序会尝试下载封面图片并添加到 EPUB 文件中。

5. 下载统计信息

  • 增加下载统计:在下载完成后,显示下载成功和失败的章节数量以及成功率,方便用户了解下载情况。

- Updated README.md to reflect the new version and added novel cover image support in the configuration.
- Added novel_crawler_v.25.07.08.py with enhancements including improved logging, multi-threading support, and chapter downloading functionality.
- Updated requirements.txt to include the 'rich' library for enhanced console output.
- Updated config.yml to specify the new version and corresponding Python file for the novel crawler.
@God-2077 God-2077 merged commit 22186fa into main Jul 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant