😥修改bug,尝试订阅更新功能

This commit is contained in:
2024-07-03 10:14:43 +08:00
parent cdac25869c
commit 204cf1ed88
15 changed files with 156 additions and 357 deletions

26
conf.yaml Normal file
View File

@ -0,0 +1,26 @@
# 爬虫相关配置
spider_settings:
enable: false # 是否启用爬虫
json_url: "https://blog.qyliu.top/friend.json" # 请填写对应格式json的地址仅支持网络地址
article_count: 5 # 请填写每个博客需要获取的最大文章数量
# 邮箱推送功能配置,还没实现
email_push:
enable: false # 是否启用邮箱推送功能
to_email: recipient@example.com # 收件人邮箱地址
subject: "今天的 RSS 订阅更新" # 邮件主题
body_template: "rss_template.html" # 邮件正文的 HTML 模板文件
# 邮箱issue订阅功能配置
rss_subscribe:
enable: true # 是否启用邮箱推送功能
github_username: willow-god # GitHub 用户名
github_repo: Friend-Circle-Lite # GitHub 仓库名
your_blog_url: https://blog.qyliu.top/ # 你的博客地址
# SMTP 配置
smtp:
email: 3162475700@qq.com # 发件人邮箱地址
server: smtp.qq.com # SMTP 服务器地址
port: 587 # SMTP 端口号
use_tls: true # 是否使用 tls 加密