搜索

PythonReactSEOPDF
OpenClaw

web-fetcher

Smart web content fetcher - articles and videos from WeChat, Feishu, Bilibili, Zhihu, Toutiao, YouTube, etc. Triggers: '抓取文章', '下载网页', '保存文章', 'fetch URL', '下载视频', '抓取飞书文档', '抓取微信文章', '把这个链接内容保存下来', '下载B站视频', 'download video', 'scrape article'.

alexxxiong0 来源安装数☆ 0 仓库 Starsv0.1.1

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install alexxxiong/web-fetcher

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Web Fetcher

Smart web content fetcher for Claude Code. Automatically detects platform and uses the best strategy to fetch articles or download videos.

Quick Start

# Fetch an article
python3 {SKILL_DIR}/fetcher.py "URL" -o ~/docs/

# Download a video
python3 {SKILL_DIR}/fetcher.py "https://b23.tv/xxx" -o ~/videos/

# Batch fetch from file
python3 {SKILL_DIR}/fetcher.py --urls-file urls.txt -o ~/docs/

Install Dependencies

Install only what you need — dependencies are checked at runtime:

Dependency Purpose Install
scrapling Article fetching (HTTP + browser) pip install scrapling
yt-dlp Video download pip install yt-dlp
camoufox Anti-detection browser (Xiaohongshu, Weibo) pip install camoufox && python3 -m camoufox fetch
html2text HTML to Markdown conversion pip install html2text

Smart Routing

The fetcher automatically detects the platform from the URL:

Platform Method Notes
mp.weixin.qq.com scrapling Extracts data-src images, handles SVG placeholders
*.feishu.cn Virtual scroll Collects all blocks via scrolling, downloads images with cookies
zhuanlan.zhihu.com scrapling .Post-RichText selector
www.zhihu.com scrapling .RichContent selector
www.toutiao.com scrapling Handles toutiaoimg.com base64 placeholders
www.xiaohongshu.com camoufox Anti-bot protection requires stealth browser
www.weibo.com camoufox Anti-bot protection requires stealth browser
bilibili.com / b23.tv yt-dlp Video download, supports quality selection
youtube.com / youtu.be yt-dlp Video download
douyin.com yt-dlp Video download
Unknown URLs scrapling Generic fetch with fallback tiers

CLI Reference

python3 {SKILL_DIR}/fetcher.py [URL] [OPTIONS]

Arguments:
  url                    URL to fetch

Options:
  -o, --output DIR       Output directory (default:...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/alexxxiong/web-fetcher
Version
0.1.1
Commit
a0fc2f53b1d67b89891227c8619eadb6b4837274
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Web Fetcher

Smart web content fetcher for Claude Code. Automatically detects the platform from a URL and uses the best strategy to fetch articles or download videos.

Supported Platforms

Platform Type Method
WeChat (mp.weixin.qq.com) Article scrapling + image extraction
Feishu (*.feishu.cn) Article Virtual scroll collection
Zhihu (zhuanlan/www) Article scrapling
Toutiao Article scrapling + image extraction
Xiaohongshu Article camoufox (anti-bot)
Weibo Article camoufox (anti-bot)
Bilibili / b23.tv Video yt-dlp
YouTube / youtu.be Video yt-dlp
Douyin Video yt-dlp
Any other URL Article scrapling (generic)

Install

As Claude Code Skill
git clone https://github.com/inspirai-store/web-fetcher ~/.claude/skills/web-fetcher
Manual
git clone https://github.com/inspirai-store/web-fetcher
cd web-fetcher

Quick Start

# Fetch a WeChat article
python3 fetcher.py "https://mp.weixin.qq.com/s/xxx" -o ~/docs/

# Download a Bilibili video
python3 fetcher.py "https://b23.tv/xxx" -o ~/videos/

# Fetch a Feishu document
python3 fetcher.py "https://xxx.feishu.cn/wiki/xxx" -o ~/docs/

# Batch fetch from file
python3 fetcher.py --urls-file urls.txt -o ~/docs/

# Extract audio only
python3 fetcher.py "https://b23.tv/xxx" -o ~/audio/ --audio-only

CLI Reference

python3 fetcher.py [URL] [OPTIONS]

Arguments:
  url                    URL to fetch

Options:
  -o, --output DIR       Output directory (default: current)
  -q, --quality N        Video quality: 1080, 720, 480 (default: 1080)
  --method METHOD        Force method: scrapling, camoufox, ytdlp, feishu
  --selector CSS         Force CSS selector for content extraction
  --urls-file FILE       File with URLs (one per line, # for comments)
  --audio-only           Extract audio only (video downloads)
  --no-images            Skip image download (articles)
  -...

来源内容

SKILL.md
# Web Fetcher

Smart web content fetcher for Claude Code. Automatically detects platform and uses the best strategy to fetch articles or download videos.

## Quick Start

```bash
# Fetch an article
python3 {SKILL_DIR}/fetcher.py "URL" -o ~/docs/

# Download a video
python3 {SKILL_DIR}/fetcher.py "https://b23.tv/xxx" -o ~/videos/

# Batch fetch from file
python3 {SKILL_DIR}/fetcher.py --urls-file urls.txt -o ~/docs/
```

## Install Dependencies

Install only what you need — dependencies are checked at runtime:

| Dependency | Purpose | Install |
|-----------|---------|---------|
| scrapling | Article fetching (HTTP + browser) | `pip install scrapling` |
| yt-dlp | Video download | `pip install yt-dlp` |
| camoufox | Anti-detection browser (Xiaohongshu, Weibo) | `pip install camoufox && python3 -m camoufox fetch` |
| html2text | HTML to Markdown conversion | `pip install html2text` |

## Smart Routing

The fetcher automatically detects the platform from the URL:

| Platform | Method | Notes |
|----------|--------|-------|
| mp.weixin.qq.com | scrapling | Extracts `data-src` images, handles SVG placeholders |
| *.feishu.cn | Virtual scroll | Collects all blocks via scrolling, downloads images with cookies |
| zhuanlan.zhihu.com | scrapling | `.Post-RichText` selector |
| www.zhihu.com | scrapling | `.RichContent` selector |
| www.toutiao.com | scrapling | Handles `toutiaoimg.com` base64 placeholders |
| www.xiaohongshu.com | camoufox | Anti-bot protection requires stealth browser |
| www.weibo.com | camoufox | Anti-bot protection requires stealth browser |
| bilibili.com / b23.tv | yt-dlp | Video download, supports quality selection |
| youtube.com / youtu.be | yt-dlp | Video download |
| douyin.com | yt-dlp | Video download |
| Unknown URLs | scrapling | Generic fetch with fallback tiers |

## CLI Reference

```
python3 {SKILL_DIR}/fetcher.py [URL] [OPTIONS]

Arguments:
  url                    URL to fetch

Options:
  -o, --output DIR       Output directory (default:...
README
# Web Fetcher

Smart web content fetcher for Claude Code. Automatically detects the platform from a URL and uses the best strategy to fetch articles or download videos.

## Supported Platforms

| Platform | Type | Method |
|----------|------|--------|
| WeChat (mp.weixin.qq.com) | Article | scrapling + image extraction |
| Feishu (*.feishu.cn) | Article | Virtual scroll collection |
| Zhihu (zhuanlan/www) | Article | scrapling |
| Toutiao | Article | scrapling + image extraction |
| Xiaohongshu | Article | camoufox (anti-bot) |
| Weibo | Article | camoufox (anti-bot) |
| Bilibili / b23.tv | Video | yt-dlp |
| YouTube / youtu.be | Video | yt-dlp |
| Douyin | Video | yt-dlp |
| Any other URL | Article | scrapling (generic) |

## Install

### As Claude Code Skill

```bash
git clone https://github.com/inspirai-store/web-fetcher ~/.claude/skills/web-fetcher
```

### Manual

```bash
git clone https://github.com/inspirai-store/web-fetcher
cd web-fetcher
```

## Quick Start

```bash
# Fetch a WeChat article
python3 fetcher.py "https://mp.weixin.qq.com/s/xxx" -o ~/docs/

# Download a Bilibili video
python3 fetcher.py "https://b23.tv/xxx" -o ~/videos/

# Fetch a Feishu document
python3 fetcher.py "https://xxx.feishu.cn/wiki/xxx" -o ~/docs/

# Batch fetch from file
python3 fetcher.py --urls-file urls.txt -o ~/docs/

# Extract audio only
python3 fetcher.py "https://b23.tv/xxx" -o ~/audio/ --audio-only
```

## CLI Reference

```
python3 fetcher.py [URL] [OPTIONS]

Arguments:
  url                    URL to fetch

Options:
  -o, --output DIR       Output directory (default: current)
  -q, --quality N        Video quality: 1080, 720, 480 (default: 1080)
  --method METHOD        Force method: scrapling, camoufox, ytdlp, feishu
  --selector CSS         Force CSS selector for content extraction
  --urls-file FILE       File with URLs (one per line, # for comments)
  --audio-only           Extract audio only (video downloads)
  --no-images            Skip image download (articles)
  -...

相关技能

OpenClaw

laborany

laborany

基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...

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...