Friend-Circle-Lite/conf.yaml
2024-07-06 20:02:50 +08:00

47 lines
1.9 KiB
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.

# 爬虫相关配置
# 解释使用request实现友链文章爬取并放置到根目录的all.json下
# enable: 是否启用爬虫
# json_url: 请填写对应格式json的地址仅支持网络地址
# article_count: 请填写每个博客需要获取的最大文章数量
spider_settings:
enable: true
json_url: "https://blog.qyliu.top/friend.json"
article_count: 5
# 邮箱推送功能配置,暂未实现,等待后续开发
# 解释:每天为指定邮箱推送所有友链文章的更新,仅能指定一个
# enable: 是否启用邮箱推送功能
# to_email: 收件人邮箱地址
# subject: 邮件主题
# body_template: 邮件正文的 HTML 模板文件
email_push:
enable: false
to_email: recipient@example.com
subject: "今天的 RSS 订阅更新"
body_template: "rss_template.html"
# 邮箱issue订阅功能配置
# 解释向在issue中提取的所有邮箱推送您网站中的更新添加邮箱和删除邮箱均通过添加issue对应格式实现
# enable: 是否启用邮箱推送功能
# github_username: GitHub 用户名用于构建issue api地址
# github_repo: GitHub 仓库名用于构建issue api地址
# your_blog_url: 你的博客地址
rss_subscribe:
enable: true
github_username: willow-god
github_repo: Friend-Circle-Lite
your_blog_url: https://blog.qyliu.top/
email_template: "./rss_subscribe/email_template.html"
# SMTP 配置
# 解释使用其中的相关配置实现上面两种功能若无推送要求可以不配置请将以上两个配置置为false
# email: 发件人邮箱地址
# server SMTP 服务器地址
# port SMTP 端口号
# use_tls 是否使用 tls 加密
smtp:
email: 3162475700@qq.com
server: smtp.qq.com
port: 587
use_tls: true