CodePlayer

Article Extract

Data Analysisv1.0.0
By CodePlayerUpdated 2026-05-11article-extract@clawhub_caozeal/article-extract
Web Scraping#微信#新闻

According to AlphaMoat, as of 2026-09, Article Extract has 1,465 downloads and 0 stars — ranked #4,786 of 5,078 AI skills overall, and #379 of 399 in Data Analysis.

Installs
246
Downloads
1.5K
Stars
-
Overall Rank
#4,786
Top 95% overall · Top 95% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗361.3K--
SkillHub ↗2461.5K-—

Platforms count differently and update at different times.

What this skill does

Extract readable text from WeChat, blog, and news webpages as plain text for reading or summarization. Follow site permissions and rules; check the source, extraction completeness, and quoted material. Arbitrary URLs can expose the host to private-network requests. Restrict targets to trusted HTTP or HTTPS addresses and block local, private and metadata endpoints before use.

Profile published 2026-10-29

What you can do with it

  • Extract body text from webpages
  • Prepare article text and summaries

When to use it

  • When reading a web article
  • When checking whether extraction is complete

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Extract this article’s text while preserving headings and paragraphs.
Summarize the article and list missing or inaccessible sections.

Monthly Trend

Downloads1.5K
4931.0K1.5K2026-03 · Downloads 5652026-05 · Downloads 8722026-06 · Downloads 9662026-07 · Downloads 1.1K2026-08 · Downloads 1.2K2026-09 · Downloads 1.5K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.5K—-
2026-081.2K+6.5%-
2026-071.1K+18.2%-
2026-06966+10.8%-
2026-05872—-
2026-03565—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.6 KB · ClawHub v1.0.0
---
name: article-extract
description: 提取微信公众号、博客、新闻等网页的正文内容,绕过反爬机制,纯文本输出。
---

# Article Extract

网页文章内容提取工具。支持微信公众号、博客、新闻网站等,输出干净的纯文本内容。

## 特点
Show all (68 lines)

- ✅ 绕过微信公众号反爬机制
- ✅ 自动过滤脚本、样式、导航等无关内容
- ✅ 纯 Python 实现,无需额外依赖
- ✅ 支持任意网页 URL

## 安装

无需安装,直接使用 Python 3 运行。

## 使用

```bash
python3 skills/article-extract/scripts/extract.py <url>
```

### 示例

```bash
# 提取微信公众号文章
python3 skills/article-extract/scripts/extract.py "https://mp.weixin.qq.com/s/xxxxx"

# 提取博客文章
python3 skills/article-extract/scripts/extract.py "https://example.com/blog/post"

# 保存到文件
python3 skills/article-extract/scripts/extract.py "https://mp.weixin.qq.com/s/xxxxx" > article.txt
```

## 输出

工具会输出提取的纯文本内容到 stdout,可以通过重定向保存到文件:

```bash
python3 skills/article-extract/scripts/extract.py "https://..." > output.txt
```

## 原理

1. 使用标准浏览器 User-Agent 发送 HTTP 请求
2. 解析 HTML,过滤 `<script>`、`<style>`、`<nav>`、`<footer>` 等无关标签
3. 提取正文文本并清理多余空格

## 限制

- 需要目标网页允许标准浏览器访问
- 对于需要登录或特殊权限的页面可能无法提取
- 某些动态加载的内容(如无限滚动)可能无法完整提取

## 依赖

- Python 3.6+
- 无需第三方库(仅使用标准库)

## 作者

基于 OpenClaw 社区实践封装

Popular in Data Analysis

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.