优化情报分栏和日报展示
This commit is contained in:
@@ -84,6 +84,7 @@ class NewsSearchClient:
|
||||
comments = int(story.get("num_comments") or 0)
|
||||
published_at = self._parse_hn_date(story.get("created_at"))
|
||||
return SignalItem(
|
||||
source_type="news",
|
||||
topic="AI 新闻候选",
|
||||
title=title[:300],
|
||||
summary=f"Hacker News 最新技术讨论,作者 {author},约 {points} points、{comments} 条评论。",
|
||||
|
||||
Reference in New Issue
Block a user