JMComic-Crawler-Python/assets/option/option_workflow_export_favorites.yml

28 lines
658 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

client:
impl: api
domain:
html: [ jmcomic1.me, jmcomic.me ]
# 插件配置
plugins:
main:
- plugin: login # 登录插件
kwargs:
username: ${JM_USERNAME}
password: ${JM_PASSWORD}
- plugin: favorite_folder_export
log: false
kwargs:
zip_enable: true
zip_filepath: ${ZIP_FP}
zip_password: ${ZIP_PASSWORD}
- plugin: send_qq_email # 发送邮件如果未配置下面的前3个环境变量则不会发送。
kwargs:
msg_from: ${EMAIL_FROM}
msg_to: ${EMAIL_TO}
password: ${EMAIL_PASS}
title: ${EMAIL_TITLE}
content: ${EMAIL_CONTENT}