Xpersona
S

Short Video Parser

CLAWHUB · Unverified

此技能用于解析短视频链接,支持解析抖音、快手、B站等多个主流平台的短视频和图文链接,并能自动提取语音内容转录为文字。适用于需要批量获取视频元数据或将视频内容转为文本的场景时使用此 skill。 Skill: Short Video Parser Owner: yangbuyiya Summary: 此技能用于解析短视频链接,支持解析抖音、快手、B站等多个主流平台的短视频和图文链接,并能自动提取语音内容转录为文字。适用于需要批量获取视频元数据或将视频内容转为文本的场景时使用此 skill。 Tags: latest:2.0.0 Version history: v2.0.0 | 2026-03-24T02:50:25.430Z | user - Added English README file (README_EN.md) for international users. - Updated environment variables section in SKILL.md to clarify the requirements and mark transcription key as "Optional, tran

62
Rank
84
Safety
962
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 962 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17dhwttehkzrsjtrx1d5x9d4n83gz2f:yby6-video-parser-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. 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-skill/snapshot"

Run-check

$0.02 USD

1 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

34,606 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: yby6-video-parser
description: 此技能用于解析短视频链接,支持解析抖音、快手、B站等多个主流平台的短视频和图文链接,并能自动提取语音内容转录为文字。适用于需要批量获取视频元数据或将视频内容转为文本的场景时使用此 skill。
env:
  - SILICONFLOW_API_KEY (Optional, transcription is required and mandatory)
  - parse_api_url (optional)
binaries:
  - ffmpeg
---

# 视频解析与转录技能

此技能提供两个核心功能:视频元数据解析和视频语音转录。支持 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

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-skill",
  "version": "2.0.0",
  "publishedAt": 1774320625430
}

README_EN.md

# Video Parser Skill

A video parsing and transcription tool that extracts video information from multiple platform sharing links and converts video speech content to text.

> **This Skill is refactored based on the [parse-video-py](https://github.com/wujunwei928/parse-video-py) project. Thanks to the original author for their contribution.**

## Core Features

- **Video Metadata Parsing**: Supports parsing 20+ mainstream platforms via sharing links or video IDs
- **Speech Transcription**: Automatically converts video speech content to text
- **Image Gallery Support**: Supports parsing image notes and gallery content
- **Dual Mode Parsing**: Supports both built-in parser and external API modes
- **Batch Processing**: Provides asynchronous interface for batch parsing

## Quick Start

### 1. Install Dependencies

```bash
pip install -r requirements.txt
```

### 2. Configure Environment (Required for Transcription Only)

Create a `.env` file:

```env
# SiliconFlow API Key (Required, for video transcription feature)
api_key=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Video transcription model (default: FunAudioLLM/SenseVoiceSmall)
model=FunAudioLLM/SenseVoiceSmall
# Auto cleanup temporary files (true: auto cleanup, false: keep in tmp/ directory)
auto_cleanup_temp_files=false
```

### 3. Use Scripts

#### Video Metadata Parsing

```bash
# List supported platforms
python scripts/skill.py --list_platforms

# Parse by URL
python scripts/skill.py --url "https://v.douyin.com/xxxxxx"
```

#### Video Speech Transcription

```bash
# Basic transcription
python scripts/transcribe.py --url "https://v.douyin.com/xxxxxx"

# Specify API Key and model
python scripts/transcribe.py --url "https://www.xiaohongshu.com/explore/xxxx" --api-key sk-your-key --model FunAudioLLM/SenseVoiceSmall

# Keep temporary files
python scripts/transcribe.py --url "https://www.bilibili.com/video/xxxx" --auto_cleanup false
```

## Command Line Arguments

### `scripts/skill.py`

| Parameter | Description | Required |
|-----------|-------------|----------|
| `--url` | Video sharing URL to parse | No |
| `--list_platforms` | List all supported platforms | No |

### `scripts/transcribe.py`

| Parameter | Description | Default |
|-----------|-------------|---------|
| `--url` | **Required**. Video sharing URL to parse | None |
| `--api_key` | SiliconFlow API key | Read from .env |
| `--model` | Speech recognition model name | `FunAudioLLM/SenseVoiceSmall` |
| `--parse_result` | Parsed result JSON string | None |
| `--auto_cleanup` | Auto cleanup temporary files | Read from .env |
| `--use_local_parser` | Use local parser | Read from .env |

## Supported Platforms

| Platform | Identifier | Platform | Identifier |
|----------|------------|----------|------------|
| 抖音 | douyin | 快手 | kuaishou |
| 小红书 | redbook | 哔哩哔哩 | bilibili |
| 微博 | weibo | 皮皮虾 | pipixia |
| 西瓜视频 | xigua | 微视 | weishi |
| 绿洲 | lvzhou | 最右 | zuiyou |
| 度小视 | quanmin | 梨视频 | lishipin |
| 皮皮搞笑 | pipigaoxiao | 虎牙 | hu

skill-card.md

## Description:

Short Video Parser extracts metadata from short-video and image-gallery share links across major platforms and can transcribe video speech 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 agents use this skill to parse shared short-video URLs into structured metadata and to convert video speech into text for content review, notes, subtitles, or summarization.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: URL parsing and media handling can make unintended network requests.

Mitigation: Use trusted video links, prefer the local parser, and run the skill with restricted network egress where possible.

Risk: Downloaded video and extracted audio files are retained by default.

Mitigation: Set auto_cleanup_temp_files=true or pass --auto_cleanup true unless retained media files are explicitly needed.

Risk: Supplying untrusted parsed-result JSON can bypass normal parsing assumptions.

Mitigation: Avoid untrusted --parse_result input and review parsed metadata before using it in downstream workflows.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/yangbuyiya/skills/yby6-video-parser-skill)
- [SiliconFlow audio transcription API documentation](https://docs.siliconflow.cn/api-reference/audio)
- [SiliconFlow](https://siliconflow.cn/)

## Skill Output:

**Output Type(s):** [Text, Markdown, JSON, Shell commands, Configuration]

**Output Format:** [JSON parsing results, transcription text, and Markdown transcription reports with command-line and environment configuration guidance.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Transcription can write Markdown reports under demos/ and temporary video or audio files under tmp/.]

## Skill Version(s):

2.0.0 (source: server release metadata)

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

Sponsored

Ads related to Short Video Parser and adjacent AI workflows.