Search

PythonReactSEOPDF
OpenClaw

newsnow-reader

优雅地阅读实时热门新闻。支持微博、知乎、百度、抖音、华尔街见闻、今日头条、澎湃新闻等8个主流平台。

castieler0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install castieler/newsnow-reader

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

NewsNow 新闻阅读器

获取并展示实时热门新闻,基于 newsnow 项目实现原理,直接调用各平台 API。

系统依赖

本 skill 仅使用 Python 标准库,无需任何外部依赖:

  • urllib:Python 标准库,用于发送 HTTP 请求
  • json、re、time:Python 标准库

无需安装任何额外依赖或二进制文件。

支持的新闻源

来源 标识 说明
微博热搜 weibo 微博实时热搜榜
知乎热榜 zhihu 知乎热门话题
百度热搜 baidu 百度搜索热点
抖音热榜 douyin 抖音热门话题
华尔街见闻 wallstreetcn 华尔街见闻热门文章
今日头条 toutiao 今日头条热榜
澎湃新闻 thepaper 澎湃新闻热搜

使用方法

1. 获取并展示新闻
# 获取微博热搜(默认)
python newsnow-reader/scripts/fetch_news.py

# 获取知乎热榜
python newsnow-reader/scripts/fetch_news.py zhihu

# 获取抖音热搜,限制10条
python newsnow-reader/scripts/fetch_news.py douyin 10

# 获取华尔街见闻
python newsnow-reader/scripts/fetch_news.py wallstreetcn 10

# 获取今日头条
python newsnow-reader/scripts/fetch_news.py toutiao 10

# 获取澎湃新闻
python newsnow-reader/scripts/fetch_news.py thepaper 10
2. 格式化输出
# 优雅格式(带边框、emoji)
python newsnow-reader/scripts/format_news.py news.json elegant

# 紧凑格式
python newsnow-reader/scripts/format_news.py news.json compact

# Markdown格式
python newsnow-reader/scripts/format_news.py news.json markdown

# 摘要格式(前5条)
python newsnow-reader/scripts/format_news.py news.json summary
3. 完整流程示例
# 获取微博热搜并优雅展示
python newsnow-reader/scripts/fetch_news.py weibo 15 > /tmp/news.json && \
python newsnow-reader/scripts/format_news.py /tmp/news.json elegant

输出格式

JSON 格式
[
  {
    "id": "唯一标识",
    "title": "新闻标题",
    "url": "完整URL",
    "mobileUrl": "移动端URL(可选)",
    "extra": {
      "info": "附加信息(如热度)",
      "hover": "悬停描述"
    }
  }
]
Elegant 样式示例
╔═══════════════════════════════════════════════════...

Source information

Source
github
Repository
openclaw/skills
Path
skills/castieler/newsnow-reader
Version
—
Commit
febc13467dd47c7bb5203c625ca65cbb7a4457ce
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# NewsNow 新闻阅读器

获取并展示实时热门新闻,基于 newsnow 项目实现原理,直接调用各平台 API。

## 系统依赖

本 skill 仅使用 Python 标准库,无需任何外部依赖:
- `urllib`:Python 标准库,用于发送 HTTP 请求
- `json`、`re`、`time`:Python 标准库

无需安装任何额外依赖或二进制文件。

## 支持的新闻源

| 来源 | 标识 | 说明 |
|------|------|------|
| 微博热搜 | `weibo` | 微博实时热搜榜 |
| 知乎热榜 | `zhihu` | 知乎热门话题 |
| 百度热搜 | `baidu` | 百度搜索热点 |
| 抖音热榜 | `douyin` | 抖音热门话题 |
| 华尔街见闻 | `wallstreetcn` | 华尔街见闻热门文章 |
| 今日头条 | `toutiao` | 今日头条热榜 |
| 澎湃新闻 | `thepaper` | 澎湃新闻热搜 |

## 使用方法

### 1. 获取并展示新闻

```bash
# 获取微博热搜(默认)
python newsnow-reader/scripts/fetch_news.py

# 获取知乎热榜
python newsnow-reader/scripts/fetch_news.py zhihu

# 获取抖音热搜,限制10条
python newsnow-reader/scripts/fetch_news.py douyin 10

# 获取华尔街见闻
python newsnow-reader/scripts/fetch_news.py wallstreetcn 10

# 获取今日头条
python newsnow-reader/scripts/fetch_news.py toutiao 10

# 获取澎湃新闻
python newsnow-reader/scripts/fetch_news.py thepaper 10
```

### 2. 格式化输出

```bash
# 优雅格式(带边框、emoji)
python newsnow-reader/scripts/format_news.py news.json elegant

# 紧凑格式
python newsnow-reader/scripts/format_news.py news.json compact

# Markdown格式
python newsnow-reader/scripts/format_news.py news.json markdown

# 摘要格式(前5条)
python newsnow-reader/scripts/format_news.py news.json summary
```

### 3. 完整流程示例

```bash
# 获取微博热搜并优雅展示
python newsnow-reader/scripts/fetch_news.py weibo 15 > /tmp/news.json && \
python newsnow-reader/scripts/format_news.py /tmp/news.json elegant
```

## 输出格式

### JSON 格式

```json
[
  {
    "id": "唯一标识",
    "title": "新闻标题",
    "url": "完整URL",
    "mobileUrl": "移动端URL(可选)",
    "extra": {
      "info": "附加信息(如热度)",
      "hover": "悬停描述"
    }
  }
]
```

### Elegant 样式示例

```
╔═══════════════════════════════════════════════════...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

parakeet-stt

carlulsoe

Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...

OpenClaw

feishu-process-feedback

carlzhao007

飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...