docs: 更新文档

This commit is contained in:
sansan
2025-08-31 17:35:58 +08:00
parent f4b5f38278
commit 0fc64f90e7
2 changed files with 39 additions and 44 deletions
+6 -7
View File
@@ -1,10 +1,10 @@
app:
version_check_url: "https://raw.githubusercontent.com/sansan0/TrendRadar/refs/heads/master/version"
show_version_update: true # 控制显示版本更新提示,改成 false不接受新版本提示
show_version_update: true # 控制显示版本更新提示,如果 false,则不接受新版本提示
crawler:
request_interval: 1000 # 请求间隔(毫秒)
enable_crawler: true # 是否启用爬取新闻功能,false直接停止程序
enable_crawler: true # 是否启用爬取新闻功能,如果 false,则直接停止程序
use_proxy: false # 是否启用代理,false 时为关闭
default_proxy: "http://127.0.0.1:10086"
@@ -28,7 +28,7 @@ report:
rank_threshold: 5 # 排名高亮阈值
notification:
enable_notification: true # 是否启用通知功能,false不发送手机通知
enable_notification: true # 是否启用通知功能,如果 false,则不发送手机通知
message_batch_size: 4000 # 消息分批大小(字节)(这个配置别动)
batch_send_interval: 1 # 批次发送间隔(秒)
feishu_message_separator: "━━━━━━━━━━━━━━━━━━━" # feishu 消息分割线
@@ -36,7 +36,7 @@ notification:
silent_push:
enabled: false # 是否启用静默推送模式,如果 true,则启用
# 因为我们白嫖的 github 服务器执行时间不稳定,所以时间范围要根据实际尽可能大一点,留足 2 小时
# 如果你想寻求稳定的按时的推送,建议部署在个人的服务器上
# 如果你想寻求稳定的按时的推送,建议通过 docker 部署在个人的服务器上
time_range:
start: "20:00" # 推送时间范围开始(北京时间)
end: "22:00" # 推送时间范围结束(北京时间)
@@ -53,14 +53,13 @@ notification:
telegram_bot_token: "" # Telegram Bot Token
telegram_chat_id: "" # Telegram Chat ID
# 用于让关注度更高的新闻在更前面显示,合起来是 1 就行
# 用于让关注度更高的新闻在更前面显示,即用算法重新组合不同平台的热搜排序形成你侧重的热搜,合起来是 1 就行
weight:
rank_weight: 0.6 # 排名权重
frequency_weight: 0.3 # 频次权重
hotness_weight: 0.1 # 热度权重
# 增加无聊的小知识
# 这里的 name 你可以定义任意名称,只具有显示作用,不会影响数据的处理
# name 可以定义任意名称,只具有显示作用,即使项目运行了几天后,忽然改掉 name 也不会影响代码的正常运行
platforms:
- id: "toutiao"
name: "今日头条"