mirror of
https://gitee.com/houhuan/TrendRadar.git
synced 2026-05-01 00:12:42 +08:00
v3.5.0: 新增了一些功能,详细见【更新日志】
This commit is contained in:
+27
-9
@@ -29,6 +29,7 @@ report:
|
||||
rank_threshold: 5 # 排名高亮阈值
|
||||
sort_by_position_first: false # 排序优先级:true=先按配置位置排序,false=先按热点条数排序
|
||||
max_news_per_keyword: 0 # 每个关键词最大显示数量,0=不限制
|
||||
reverse_content_order: false # 内容顺序:false=热点词汇统计在前,true=新增热点新闻在前
|
||||
|
||||
notification:
|
||||
enable_notification: true # 是否启用通知功能,如果 false,则不发送手机通知
|
||||
@@ -39,6 +40,7 @@ notification:
|
||||
slack_batch_size: 4000 # Slack消息分批大小(字节)
|
||||
batch_send_interval: 3 # 批次发送间隔(秒)
|
||||
feishu_message_separator: "━━━━━━━━━━━━━━━━━━━" # feishu 消息分割线
|
||||
max_accounts_per_channel: 3 # 每个渠道最大账号数量,建议不超过 3
|
||||
|
||||
# 🕐 推送时间窗口控制(可选功能)
|
||||
# 用途:限制推送的时间范围,避免非工作时间打扰
|
||||
@@ -71,23 +73,39 @@ notification:
|
||||
# - Minor: Spam notifications flooding your devices
|
||||
# - Severe: Webhook abuse leading to security incidents (malicious messages, phishing links, etc.)
|
||||
#
|
||||
# ⚠️⚠️⚠️ 多账号推送说明 / MULTI-ACCOUNT PUSH NOTICE ⚠️⚠️⚠️
|
||||
#
|
||||
# 🔸 多账号支持:
|
||||
# • 请使用分号(;)分隔多个账号,如:"url1;url2;url3"
|
||||
# • 示例:telegram_bot_token: "token1;token2" 对应 telegram_chat_id: "id1;id2"
|
||||
# • 对于需要配对的配置(如 Telegram 的 token 和 chat_id),数量必须一致
|
||||
# • 每个渠道最多支持 max_accounts_per_channel 个账号(见上方配置)
|
||||
# • 邮箱已支持多收件人(逗号分隔),保持不变
|
||||
#
|
||||
# 🔸 Multi-Account Support:
|
||||
# • Use semicolon(;) to separate multiple accounts, e.g., "url1;url2;url3"
|
||||
# • Example: telegram_bot_token: "token1;token2" with telegram_chat_id: "id1;id2"
|
||||
# • For paired configs (e.g., Telegram token and chat_id), quantities must match
|
||||
# • Each channel supports up to max_accounts_per_channel accounts (see above config)
|
||||
# • Email already supports multiple recipients (comma-separated), unchanged
|
||||
#
|
||||
webhooks:
|
||||
feishu_url: "" # 飞书机器人的 webhook URL
|
||||
dingtalk_url: "" # 钉钉机器人的 webhook URL
|
||||
wework_url: "" # 企业微信机器人的 webhook URL
|
||||
feishu_url: "" # 飞书机器人的 webhook URL(多账号用 ; 分隔)
|
||||
dingtalk_url: "" # 钉钉机器人的 webhook URL(多账号用 ; 分隔)
|
||||
wework_url: "" # 企业微信机器人的 webhook URL(多账号用 ; 分隔)
|
||||
wework_msg_type: "markdown" # 企业微信消息类型:markdown(群机器人) 或 text(个人微信应用)
|
||||
telegram_bot_token: "" # Telegram Bot Token
|
||||
telegram_chat_id: "" # Telegram Chat ID
|
||||
telegram_bot_token: "" # Telegram Bot Token(多账号用 ; 分隔,需与 chat_id 数量一致)
|
||||
telegram_chat_id: "" # Telegram Chat ID(多账号用 ; 分隔,需与 bot_token 数量一致)
|
||||
email_from: "" # 发件人邮箱地址
|
||||
email_password: "" # 发件人邮箱密码或授权码
|
||||
email_to: "" # 收件人邮箱地址,多个收件人用逗号分隔
|
||||
email_smtp_server: "" # SMTP服务器地址(可选,留空自动识别)
|
||||
email_smtp_port: "" # SMTP端口(可选,留空自动识别)
|
||||
ntfy_server_url: "https://ntfy.sh" # ntfy服务器地址,默认使用公共服务,可改为自托管地址
|
||||
ntfy_topic: "" # ntfy主题名称
|
||||
ntfy_token: "" # ntfy访问令牌(可选,用于私有主题)
|
||||
bark_url: "" # Bark推送URL(格式:https://api.day.app/your_device_key 或自建服务器地址)
|
||||
slack_webhook_url: "" # Slack Incoming Webhook URL(格式:https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX)
|
||||
ntfy_topic: "" # ntfy主题名称(多账号用 ; 分隔)
|
||||
ntfy_token: "" # ntfy访问令牌(可选,用于私有主题,多账号用 ; 分隔)
|
||||
bark_url: "" # Bark推送URL(多账号用 ; 分隔,格式:https://api.day.app/your_device_key 或自建服务器地址)
|
||||
slack_webhook_url: "" # Slack Incoming Webhook URL(多账号用 ; 分隔,格式:https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX)
|
||||
|
||||
# 用于让关注度更高的新闻在更前面显示,即用算法重新组合不同平台的热搜排序形成你侧重的热搜,合起来是 1 就行
|
||||
weight:
|
||||
|
||||
Reference in New Issue
Block a user