This commit is contained in:
sansan 2025-10-23 19:19:51 +08:00
parent 0a5ecb4cd0
commit b27f402f71
3 changed files with 21 additions and 11 deletions

View File

@ -20,7 +20,7 @@ import requests
import yaml import yaml
VERSION = "3.0.2" VERSION = "3.0.3"
# === SMTP邮件配置 === # === SMTP邮件配置 ===
@ -3869,8 +3869,7 @@ def send_to_ntfy(
f"ntfy第 {actual_batch_num}/{total_batches} 批次发送失败 [{report_type}],状态码:{response.status_code}" f"ntfy第 {actual_batch_num}/{total_batches} 批次发送失败 [{report_type}],状态码:{response.status_code}"
) )
try: try:
error_detail = response.text[:200] # 只显示前200字符的错误信息 print(f"错误详情:{response.text}")
print(f"错误详情:{error_detail}")
except: except:
pass pass

View File

@ -13,7 +13,7 @@
[![GitHub Stars](https://img.shields.io/github/stars/sansan0/TrendRadar?style=flat-square&logo=github&color=yellow)](https://github.com/sansan0/TrendRadar/stargazers) [![GitHub Stars](https://img.shields.io/github/stars/sansan0/TrendRadar?style=flat-square&logo=github&color=yellow)](https://github.com/sansan0/TrendRadar/stargazers)
[![GitHub Forks](https://img.shields.io/github/forks/sansan0/TrendRadar?style=flat-square&logo=github&color=blue)](https://github.com/sansan0/TrendRadar/network/members) [![GitHub Forks](https://img.shields.io/github/forks/sansan0/TrendRadar?style=flat-square&logo=github&color=blue)](https://github.com/sansan0/TrendRadar/network/members)
[![License](https://img.shields.io/badge/license-GPL--3.0-blue.svg?style=flat-square)](LICENSE) [![License](https://img.shields.io/badge/license-GPL--3.0-blue.svg?style=flat-square)](LICENSE)
[![Version](https://img.shields.io/badge/version-v3.0.2-green.svg?style=flat-square)](https://github.com/sansan0/TrendRadar) [![Version](https://img.shields.io/badge/version-v3.0.3-green.svg?style=flat-square)](https://github.com/sansan0/TrendRadar)
[![企业微信通知](https://img.shields.io/badge/企业微信-通知-00D4AA?style=flat-square)](https://work.weixin.qq.com/) [![企业微信通知](https://img.shields.io/badge/企业微信-通知-00D4AA?style=flat-square)](https://work.weixin.qq.com/)
[![Telegram通知](https://img.shields.io/badge/Telegram-通知-00D4AA?style=flat-square)](https://telegram.org/) [![Telegram通知](https://img.shields.io/badge/Telegram-通知-00D4AA?style=flat-square)](https://telegram.org/)
@ -39,7 +39,7 @@
- 感谢**给予资金支持** 的朋友们,你们的慷慨已化身为键盘旁的零食饮料,陪伴着项目的每一次迭代。 - 感谢**给予资金支持** 的朋友们,你们的慷慨已化身为键盘旁的零食饮料,陪伴着项目的每一次迭代。
<details> <details>
<summary>👉 点击查看<strong>致谢名单</strong> (当前 <strong>🔥39🔥</strong> 位)</summary> <summary>👉 点击查看<strong>致谢名单</strong> (当前 <strong>🔥41🔥</strong> 位)</summary>
### 数据支持 ### 数据支持
@ -59,6 +59,8 @@
| 点赞人 | 金额 | 日期 | 备注 | | 点赞人 | 金额 | 日期 | 备注 |
| :-------------------------: | :----: | :----: | :-----------------------: | | :-------------------------: | :----: | :----: | :-----------------------: |
| *许 | 8.88 | 2025.10.23 | 老师 小白一枚,摸了几天了还没整起来,求教 |
| Eason | 1 | 2025.10.22 | 还没整明白,但你在做好事 |
| P*n | 1 | 2025.10.20 | | | P*n | 1 | 2025.10.20 | |
| *杰 | 1 | 2025.10.19 | | | *杰 | 1 | 2025.10.19 | |
| *徐 | 1 | 2025.10.18 | | | *徐 | 1 | 2025.10.18 | |
@ -502,10 +504,15 @@ GitHub 一键 Fork 即可使用,无需编程基础。
- **小版本更新**:从 v2.x 升级到 v2.y, 用本项目的 `main.py` 代码替换你 fork 仓库中的对应文件 - **小版本更新**:从 v2.x 升级到 v2.y, 用本项目的 `main.py` 代码替换你 fork 仓库中的对应文件
- **大版本升级**:从 v1.x 升级到 v2.y, 建议删除现有 fork 后重新 fork这样更省力且避免配置冲突 - **大版本升级**:从 v1.x 升级到 v2.y, 建议删除现有 fork 后重新 fork这样更省力且避免配置冲突
### 2025/10/23 - v3.0.3
- 扩大 ntfy 错误信息显示范围
### 2025/10/21 - v3.0.2 ### 2025/10/21 - v3.0.2
- **更新内容** - 修复 ntfy 推送编码问题
- 必然修复 ntfy 推送编码问题
### 2025/10/20 - v3.0.0 ### 2025/10/20 - v3.0.0
@ -1004,6 +1011,8 @@ frequency_words.txt 文件增加了一个【必须词】功能,使用 + 号
``` ```
建议格式trendradar-{你的名字缩写}-{随机数字} 建议格式trendradar-{你的名字缩写}-{随机数字}
不能使用中文
✅ 好例子trendradar-zs-8492 ✅ 好例子trendradar-zs-8492
❌ 坏例子news、alerts太容易被猜到 ❌ 坏例子news、alerts太容易被猜到
``` ```
@ -1283,16 +1292,18 @@ docker exec -it trend-radar ls -la /app/config/
## 🤖 AI 智能分析部署 ## 🤖 AI 智能分析部署
TrendRadar v3.0.0 新增了基于 **MCP (Model Context Protocol)** 的 AI 分析功能,让你可以通过自然语言与新闻数据对话,进行深度分析。 TrendRadar v3.0.0 新增了基于 **MCP (Model Context Protocol)** 的 AI 分析功能,让你可以通过自然语言与新闻数据对话,进行深度分析。部署的话在 5 分钟左右。最复杂的部分我都用一键双击操作替你们解决好了。
### 快速部署 > 我发现大家都很善于靠自己解决未知的问题,这种勇气是值得鼓励和赞许的,但如果你卡住了好久,也可以在 issues 或者在公众号底部留言提问,这样我既能帮你,也能帮到更多其他探索中的小伙伴。
### 1. 快速部署
Cherry Studio 提供 GUI 配置界面,可快速部署。 Cherry Studio 提供 GUI 配置界面,可快速部署。
**详细教程**[README-Cherry-Studio.md](README-Cherry-Studio.md) **详细教程**[README-Cherry-Studio.md](README-Cherry-Studio.md)
### 与 AI 对话的姿势 ### 2. 学习与 AI 对话的姿势
**基础查询** **基础查询**
``` ```

View File

@ -1 +1 @@
3.0.2 3.0.3