国内AI时讯

This commit is contained in:
2026-07-02 15:10:37 +08:00
parent eef4c76e3f
commit 1dc2fed5fa
10 changed files with 305 additions and 37 deletions

71
daily/news/feeds_cn.py Normal file
View File

@@ -0,0 +1,71 @@
"""国内 AI 时讯 RSS 源定义(按类别分组)。"""
from __future__ import annotations
from daily.news.feeds import NewsCategory, NewsFeed
# 综合源 ai_filter=True 时,仅保留标题命中以下词之一的条目
CN_AI_TITLE_KEYWORDS: tuple[str, ...] = (
"人工智能",
"大模型",
"智能体",
"多模态",
"AIGC",
"LLM",
"GPT",
"Claude",
"Gemini",
"ChatGPT",
"OpenAI",
"Anthropic",
"Copilot",
"Agent",
"AI ",
" AI",
"AI·",
"AI业务",
"AI模型",
"AI助手",
"AI工具",
"AI编程",
"AI 编程",
"AI版",
"AI Agent",
"推理模型",
"深度学习",
"机器学习",
"Function Calling",
)
CN_NEWS_CATEGORIES: tuple[NewsCategory, ...] = (
NewsCategory(
id="media",
name="AI 专业媒体",
icon="📰",
feeds=(
NewsFeed("量子位", "https://www.qbitai.com/feed"),
NewsFeed("InfoQ 中文", "https://www.infoq.cn/feed/AI"),
),
),
NewsCategory(
id="tech",
name="综合科技",
icon="📱",
feeds=(
NewsFeed("36氪", "https://36kr.com/feed", ai_filter=True),
NewsFeed("雷锋网", "https://www.leiphone.com/feed"),
NewsFeed(
"Google News · AI",
"https://news.google.com/rss/search?q=人工智能+OR+大模型+OR+Agent+OR+LLM&hl=zh-CN&gl=CN&ceid=CN:zh-Hans",
),
),
),
NewsCategory(
id="dev",
name="开发者社区",
icon="💻",
feeds=(
NewsFeed("掘金", "https://juejin.cn/rss", ai_filter=True),
),
),
)