Loading...
Loading...
Compare original and translation side by side
~/.daily-news-config.yaml~/.daily-news-config.yamlundefinedundefined
然后获取页面快照:
```bash
Then get a page snapshot:
```bashundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined
从文章页面提取:
- 完整标题
- 正文内容
- 发布时间
- 作者信息(如果有)
Extract from the article page:
- Full title
- Article content
- Publish time
- Author information (if available)请为以下新闻文章生成一个5句话的详细摘要。
标题:{title}
文章内容:
{content}
摘要要求:
1. 准确概括文章的核心内容
2. 包含关键事实和细节
3. 客观中立,不添加个人观点
4. 使用简洁明了的语言
5. 总共5句话,每句话信息量丰富
请生成摘要:Please generate a 5-sentence detailed summary for the following news article.
Title: {title}
Article Content:
{content}
Summary Requirements:
1. Accurately summarize the core content of the article
2. Include key facts and details
3. Be objective and neutral without adding personal opinions
4. Use concise and clear language
5. A total of 5 sentences, each with rich information
Please generate the summary:请为以下{count}条新闻生成一个总体概述(3-5句话),突出当日最重要的新闻主题和趋势:
新闻标题列表:
{titles}
请生成一个简短的总体概述:Please generate an overall overview (3-5 sentences) for the following {count} news items, highlighting the most important news topics and trends of the day:
List of News Titles:
{titles}
Please generate a brief overall overview:undefinedundefinedundefinedundefined~/Daily-News-Summary/news-summary-{date}.mdWrite(file_path="~/Daily-News-Summary/news-summary-2024-01-07.md", content=markdown_content)~/Daily-News-Summary/news-summary-{date}.mdWrite(file_path="~/Daily-News-Summary/news-summary-2024-01-07.md", content=markdown_content)mcp__playwright__browser_tabs(action="new")mcp__playwright__browser_close()mcp__playwright__browser_tabs(action="new")mcp__playwright__browser_close()✓ 正在访问新浪新闻...
✓ 已提取20条新闻
✓ 正在生成摘要 (1/20)...
✓ 正在生成摘要 (2/20)...
...
✓ 生成总体概述...
✓ 摘要已保存到 ~/Daily-News-Summary/news-summary-2024-01-07.md✓ Accessing Sina News homepage...
✓ Extracted 20 news items
✓ Generating summary (1/20)...
✓ Generating summary (2/20)...
...
✓ Generating overall overview...
✓ Summary saved to ~/Daily-News-Summary/news-summary-2024-01-07.md~/.daily-news-config.yamlnews_sources:
- name: "新浪新闻"
url: "https://news.sina.com.cn"
enabled: true
language: "zh"
- name: "BBC News"
url: "https://www.bbc.com/news"
enabled: true
language: "en"
output:
directory: "~/Daily-News-Summary"
format: "markdown"
summary:
max_articles: 20
sentences_per_article: 5Read(file_path="~/.daily-news-config.yaml")~/.daily-news-config.yamlnews_sources:
- name: "Sina News"
url: "https://news.sina.com.cn"
enabled: true
language: "zh"
- name: "BBC News"
url: "https://www.bbc.com/news"
enabled: true
language: "en"
output:
directory: "~/Daily-News-Summary"
format: "markdown"
summary:
max_articles: 20
sentences_per_article: 5Read(file_path="~/.daily-news-config.yaml")