Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
版本更新日志: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库增强界面:Panel、Table等组件使用了更丰富的样式和颜色,如title、data、url、highlight等样式类,使信息显示更加美观。BarColumn增加了style和complete_style属性,使进度条更清晰。4. 封面图片支持
novel_cover_img,程序会尝试下载封面图片并添加到 EPUB 文件中。5. 下载统计信息