Skip to content

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

fix: 改进与特定 S3 兼容端点的兼容性

sansane1819d6bef69
diff --git a/trendradar/__init__.py b/trendradar/__init__.py
index c783e50aa9..021caeeeb0 100644
--- a/trendradar/__init__.py
+++ b/trendradar/__init__.py
@@ -9,5 +9,5 @@ TrendRadar - 热点新闻聚合与分析工具
from trendradar.context import AppContext
-__version__ = "5.5.0"
+__version__ = "5.5.1"
__all__ = ["AppContext", "__version__"]
diff --git a/trendradar/storage/remote.py b/trendradar/storage/remote.py
index f211e7c968..542e75eb37 100644
--- a/trendradar/storage/remote.py
+++ b/trendradar/storage/remote.py
@@ -93,10 +93,10 @@ class RemoteStorageBackend(SQLiteStorageMixin, StorageBackend):
# 初始化 S3 客户端
# 使用 virtual-hosted style addressing(主流)
# 根据服务商选择签名版本:
- # - 腾讯云 COS 使用 SigV2 以避免 chunked encoding 问题
- # - 其他服务商(AWS S3、Cloudflare R2、阿里云 OSS、MinIO 等)默认使用 SigV4
- is_tencent_cos = "myqcloud.com" in endpoint_url.lower()
- signature_version = 's3' if is_tencent_cos else 's3v4'
+ # - 腾讯云 COS 和 阿里云 OSS 使用 SigV2 以避免 chunked encoding 问题
+ # - 其他服务商(AWS S3、Cloudflare R2、MinIO 等)默认使用 SigV4
+ use_sigv2 = "myqcloud.com" in endpoint_url.lower() or "aliyuncs.com" in endpoint_url.lower()
+ signature_version = 's3' if use_sigv2 else 's3v4'
s3_config = BotoConfig(
s3={"addressing_style": "virtual"},
diff --git a/version b/version
index c7ba1e87f7..d41f08f1f3 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-5.5.0
\ No newline at end of file
+5.5.1
\ No newline at end of file