yby6-video-parser
CLAWHUB · Unverified
此技能用于解析短视频链接,支持解析抖音、快手、B站等多个主流平台的短视频和图文链接,并能自动提取语音内容转录为文字。适用于需要批量获取视频元数据或将视频内容转为文本的场景时使用此 skill。 Skill: yby6-video-parser Owner: yangbuyiya Summary: 此技能用于解析短视频链接,支持解析抖音、快手、B站等多个主流平台的短视频和图文链接,并能自动提取语音内容转录为文字。适用于需要批量获取视频元数据或将视频内容转为文本的场景时使用此 skill。 Tags: latest:1.0.2 Version history: v1.0.2 | 2026-03-24T02:14:34.579Z | user - Removed example .env and two sample Markdown demo files from the demos/ directory. - No changes in code, features, or usage; this update strictly refines environment and sample/demo file manag
- 62
- Rank
- 84
- Safety
- 1.3k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 10, 2026
- Adoption signal
- 1.3K downloadsadoption · Oct 10, 2026
- Latest release
- 1.0.2release · Mar 24, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.2release
- Removed example `.env` and two sample Markdown demo files from the `demos/` directory. - No changes in code, features, or usage; this update strictly refines environment and sample/demo file management.
Observed Mar 24, 2026 · source
Install and run
Setup complexity: medium.
clawhub skill install s17dhwttehkzrsjtrx1d5x9d4n83gz2f:yby6-video-parser- Python environment detected. Create a strict virtual environment (`python -m venv .venv`) before installing dependencies to prevent system-level package conflicts.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-yangbuyiya-yby6-video-parser/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
53,101 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: yby6-video-parser
description: 此技能用于解析短视频链接,支持解析抖音、快手、B站等多个主流平台的短视频和图文链接,并能自动提取语音内容转录为文字。适用于需要批量获取视频元数据或将视频内容转为文本的场景时使用此 skill。
---
# 视频解析与转录技能
此技能提供两个核心功能:视频元数据解析和视频语音转录。支持 20+ 个主流视频平台。
## 使用场景
当出现以下场景时,使用此 skill:
- 当用户需要解析图集内容
- 当用户提供视频分享链接,需要提取视频信息(无水印链接、封面、标题、作者等)时
- 需要将视频中的语音内容转换为文字,用于字幕生成、内容笔记时
- 解析图集内容时
## 核心功能
### 功能一:视频元数据解析
使用内置的解析器直接从视频分享链接中提取视频信息,无需依赖外部 API。
### 功能二:视频语音转录
通过自动化流程:解析视频 → 下载视频 → 提取音频 → 语音转录 → 生成 Markdown 报告。
## 如何使用
### 1. 安装依赖
```bash
pip install -r requirements.txt
```
### 2. 环境配置(仅语音转录功能需要)
复制一份项目根目录当中的`.env.example` 为 `.env` 文件:
```env
# SiliconFlow API Key (必填,用于视频转录功能)
# 获取地址: https://siliconflow.cn/
api_key=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# 视频转录模型 (可选,默认: FunAudioLLM/SenseVoiceSmall)
# 支持的模型列表: https://docs.siliconflow.cn/api-reference/audio
model=FunAudioLLM/SenseVoiceSmall
# 视频解析 API 地址 (可选,用于转录功能)
# 如果留空或注释掉,则使用项目内置的本地解析器(推荐)
# 如果填写了外部 API 地址,则使用外部 API 进行视频解析
# 示例: parse_api_url=http://ip:8000/video/share/url/parse?url=
parse_api_url=
# SiliconFlow ASR API 地址 (可选,默认: https://api.siliconflow.cn/v1/audio/transcriptions)
siliconflow_api_url=https://api.siliconflow.cn/v1/audio/transcriptions
# 是否自动清理临时文件 (可选,默认: false)
# true: 自动删除临时文件(视频和音频)
# false: 保留临时文件在 tmp/目录中
auto_cleanup_temp_files=false
```
## 脚本使用说明
### 脚本一:`scripts/skill.py` - 视频元数据解析
**作用**: 解析视频分享链接,获取视频详细信息。
**运行方式**:
```bash
python scripts/skill.py [选项]
```
**参数说明**:
| 参数 | 说明 | 必需 |
| ------------------ | ---------- | -- |
| `--url` | 要解析的视频分享链接 | 否 |
| `--list_platforms` | 列出所有支持的平台 | 否 |
**常用示例**:
```bash
# 1) 列出支持的平台
python scripts/skill.py --list_platforms
# 2) 通过分享链接解析视频
python scripts/skill.py --url "https://v.douyin.com/xxxxxx"
```
**输出格式**:
```json
{
"video_url": "https://example.com/video.mp4",
"cover_url": "https://example.com/cover.jpg",
"title": "视频标题",
"music_url": "https://example.com/music.mp3",
"images": [
{
"url": "图片链接",
"live_photo_url": "LivePhoto链接"
}
],
"author": {
"uid": "作者ID",
"name": "作者昵称",
"avatar": "https://example.com/avatar.jpg"
}
}
```
### 脚本二:`scripts/transcribe.py` - 视频语音转录
**作用**: 解析视频链接并自动转录语音内容为文字。
**运行方式**:
```bash
python scripts/transcribe.py --url <VIDEO_URL> [选项]
```
**参数说明**:
| 参数 | 说明 | 默认值 |
| -------------------- | -------------------------------- | ----------------------------- |
| `--url` | **必需**。要解析的视频分享链接 | 无 |
| `--api_key` | SiliconFlow API 密钥。未提供则从 .env 读取 | 从 .env 读取 |
| `--model` | 语音识别模型名称 | `FunAudioLLM/SenseVoiceSmall` |
| `--parse_result` | 已解析的结果 JSON 字符串(可选,跳过解析步骤) | 无 |
| `--auto_cleanup` | 是否自动清理临时文件(true/false) | 从 .env 读取 |
| `--use_local_parser` | 是否使用本地解析器(true/false)README.md
# Video Parser Skill
视频解析与转录工具,支持从多平台视频分享链接中提取视频信息,并可将视频语音内容转录为文字。
> **本 Skill 基于 [parse-video-py](https://github.com/wujunwei928/parse-video-py) 项目重构而来,感谢原作者的贡献。**
## 核心功能
- **视频元数据解析**: 支持通过分享链接或视频ID解析 20+ 个主流平台
- **语音转录**: 自动将视频中的语音内容转换为文本
- **图集支持**: 支持解析图文笔记和图集内容
- **双模式解析**: 支持内置解析器和外部 API 两种模式
- **批量处理**: 提供异步接口,支持批量解析
## 快速开始
### 1. 安装依赖
```bash
pip install -r requirements.txt
```
### 2. 配置环境(仅转录功能需要)
创建 `.env` 文件:
```env
# SiliconFlow API Key (必填,用于视频转录功能)
api_key=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# 视频转录模型 (默认: FunAudioLLM/SenseVoiceSmall)
model=FunAudioLLM/SenseVoiceSmall
# 是否自动清理临时文件 (true: 自动清理, false: 保留在 tmp/ 目录中)
auto_cleanup_temp_files=false
```
### 3. 使用脚本
#### 视频元数据解析
```bash
# 列出支持的平台
python scripts/skill.py --list_platforms
# 通过链接解析
python scripts/skill.py --url "https://v.douyin.com/xxxxxx"
```
#### 视频语音转录
```bash
# 基础转录
python scripts/transcribe.py --url "https://v.douyin.com/xxxxxx"
# 指定 API Key 和模型
python scripts/transcribe.py --url "https://www.xiaohongshu.com/explore/xxxx" --api-key sk-your-key --model FunAudioLLM/SenseVoiceSmall
# 保留临时文件
python scripts/transcribe.py --url "https://www.bilibili.com/video/xxxx" --auto_cleanup false
```
## 命令行参数说明
### `scripts/skill.py`
| 参数 | 说明 | 必需 |
|------|------|------|
| `--url` | 要解析的视频分享链接 | 否 |
| `--list_platforms` | 列出所有支持的平台 | 否 |
### `scripts/transcribe.py`
| 参数 | 说明 | 默认值 |
|------|------|--------|
| `--url` | **必需**。要解析的视频分享链接 | 无 |
| `--api_key` | SiliconFlow API 密钥 | 从 .env 读取 |
| `--model` | 语音识别模型名称 | `FunAudioLLM/SenseVoiceSmall` |
| `--parse_result` | 已解析的结果 JSON 字符串 | 无 |
| `--auto_cleanup` | 是否自动清理临时文件 | 从 .env 读取 |
| `--use_local_parser` | 是否使用本地解析器 | 从 .env 读取 |
## 支持的平台
| 平台 | 标识符 | 平台 | 标识符 |
|------|--------|------|--------|
| 抖音 | douyin | 快手 | kuaishou |
| 小红书 | redbook | 哔哩哔哩 | bilibili |
| 微博 | weibo | 皮皮虾 | pipixia |
| 西瓜视频 | xigua | 微视 | weishi |
| 绿洲 | lvzhou | 最右 | zuiyou |
| 度小视 | quanmin | 梨视频 | lishipin |
| 皮皮搞笑 | pipigaoxiao | 虎牙 | huya |
| A站 | acfun | 逗拍 | doupai |
| 美拍 | meipai | 全民K歌 | quanminkge |
| 六间房 | sixroom | 新片场 | xinpianchang |
| 好看视频 | haokan | Twitter | twitter |
## 输出格式
### 视频解析结果
```json
{
"video_url": "https://example.com/video.mp4",
"cover_url": "https://example.com/cover.jpg",
"title": "视频标题",
"music_url": "https://example.com/music.mp3",
"images": [
{
"url": "图片链接",
"live_photo_url": "LivePhoto链接"
}
],
"author": {
"uid": "作者ID",
"name": "作者昵称",
"avatar": "https://example.com/avatar.jpg"
}
}
```
### 语音转录结果
```json
{
"parse_info": {
"code": 200,
"msg": "success",
"data": {
"video_url": "https://example.com/video.mp4",
"title": "视频标题",
"author": {
"name": "作者名称",
"avatar": "https://example.com/avatar.jpg"
}
}
},
"transcription": "这是视频中的语音转录文本内容..."
}
```
## 作为模块使用
### 视频解析
```python
from scripts.skill import parse_video_by_url_sync, get_supported_platforms
# 解析视频
result = p_meta.json
{
"ownerId": "kn7ejd9925z99w6zyn9w5xtdhx82myvg",
"slug": "yby6-video-parser",
"version": "1.0.2",
"publishedAt": 1774318474579
}skill-card.md
## Description: Parses short-video and image-gallery share links from major platforms and can extract speech from videos into text. This skill is ready for commercial/non-commercial use. ## Publisher: [yangbuyiya](https://clawhub.ai/user/yangbuyiya) ### License/Terms of Use: MIT-0 ## Use Case: Developers and content-processing teams use this skill to parse supported social-video URLs, collect metadata such as media links, cover images, titles, and authors, and optionally transcribe video audio into text for subtitles, notes, or reports. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill handles untrusted URLs and downloaded media. Mitigation: Run it in a sandboxed environment and only process URLs from trusted sources. Risk: Audio files are uploaded to SiliconFlow for transcription. Mitigation: Do not use the transcription workflow for sensitive media unless the upload is approved for the data involved. Risk: Raw media and extracted audio may remain on disk by default. Mitigation: Enable automatic cleanup for sensitive videos and review the temporary output directory after use. Risk: Caller-supplied parse_result data can bypass normal parsing assumptions. Mitigation: Avoid caller-supplied parse_result values unless they come from a trusted prior parse. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/yangbuyiya/skills/yby6-video-parser) - [SiliconFlow audio API documentation](https://docs.siliconflow.cn/api-reference/audio) - [SiliconFlow API key portal](https://siliconflow.cn/) ## Skill Output: **Output Type(s):** [text, markdown, code, shell commands, configuration] **Output Format:** [JSON parse results, Markdown transcription reports, and command/configuration guidance.] **Output Parameters:** [1D] **Other Properties Related to Output:** [Transcription requires a SiliconFlow API key and ffmpeg; media and audio files may be retained locally unless cleanup is enabled.] ## Skill Version(s): 1.0.2 (source: server release evidence) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
requirements.txt
httpx>=0.28.1 fake-useragent>=1.5.1 requests>=2.28.0
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-yangbuyiya-yby6-video-parser. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about yby6-video-parser. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-yangbuyiya-yby6-video-parser, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/yangbuyiya/skills/yby6-video-parser",
"sourceUrl": "https://clawhub.ai/yangbuyiya/skills/yby6-video-parser",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T19:20:22.500Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-yangbuyiya-yby6-video-parser/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-yangbuyiya-yby6-video-parser/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T19:20:22.500Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.3K downloads",
"href": "https://clawhub.ai/yangbuyiya/yby6-video-parser",
"sourceUrl": "https://clawhub.ai/yangbuyiya/yby6-video-parser",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T19:20:22.500Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.2",
"href": "https://clawhub.ai/yangbuyiya/yby6-video-parser",
"sourceUrl": "https://clawhub.ai/yangbuyiya/yby6-video-parser",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-24T02:14:34.579Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-yangbuyiya-yby6-video-parser/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-yangbuyiya-yby6-video-parser/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.2",
"description": "- Removed example `.env` and two sample Markdown demo files from the `demos/` directory. - No changes in code, features, or usage; this update strictly refines environment and sample/demo file management.",
"href": "https://clawhub.ai/yangbuyiya/yby6-video-parser",
"sourceUrl": "https://clawhub.ai/yangbuyiya/yby6-video-parser",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-24T02:14:34.579Z",
"isPublic": true
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-yangbuyiya-yby6-video-parser/run-check
