mirror of
https://github.com/hect0x7/JMComic-Crawler-Python.git
synced 2025-11-04 14:49:43 +08:00
25 lines
803 B
YAML
25 lines
803 B
YAML
# 插件的配置示例
|
|
|
|
plugin:
|
|
after_init:
|
|
- plugin: usage_log # 实时打印硬件占用率的插件
|
|
kwargs:
|
|
interval: 0.5 # 间隔时间
|
|
enable_warning: true # 占用过大时发出预警
|
|
|
|
- plugin: login # 登录插件
|
|
kwargs:
|
|
username: un
|
|
password: pw
|
|
|
|
- plugin: find_update # 只下载新章插件
|
|
kwargs:
|
|
145504: 290266 # 下载本子145504的章节290266以后的新章
|
|
|
|
after_album:
|
|
- plugin: zip # 压缩文件插件
|
|
kwargs:
|
|
level: photo # 按照章节,一个章节一个压缩文件
|
|
filename_rule: Ptitle # 压缩文件的命名规则
|
|
zip_dir: D:/jmcomic/zip/ # 压缩文件存放的文件夹
|
|
delete_original_file: true # 压缩成功后,删除所有原文件和文件夹 |