[](https://github.com/tonquer/
JMComic-qthttps://github.com/hect0x7/JMComic-Crawler-Python)
将下载好的图片(本子)转换为PDF
- 确保已安装所有依赖
pip install -r requirements.txt
- 配置
config.yml
文件(可选) - 运行主程序:
from main import process_manga
下载漫画并转换为PDF(PDF文件会生成在相同目录下,使用漫画名称命名)
manga_ids = ['61572', '36267'] # 漫画ID列表
process_manga(manga_ids, should_convert_pdf=True)
仅下载漫画,不转换为PDF
process_manga(manga_ids, should_convert_pdf=False)
参考https://jmcomic.readthedocs.io/zh-cn/latest/option_file_syntax/
MIT License