douyin-extractor

Douyin (TikTok China) caption extraction skill: supports extracting speech-to-text from Douyin videos given a link/ID/account. Example trigger phrases include “extract this link's caption,” “extract Douyin caption,” “Douyin video to text,” “what does this Douyin say,” and “douyin extract.”

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "douyin-extractor" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-071761e49b924ce69e53589e147d8bd589f4fd00d291cd9f76e5527bf2649cb9. Verify the upstream source and version against https://skillhub.cn/skills/user_9a649d94/douyin-writing before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Douyin (TikTok China) caption extraction skill: supports extracting speech-to-text from Douyin videos given a link/ID/account. Example trigger phrases include “extract this link's caption,” “extract Douyin caption,” “Douyin video to text,” “what does this Douyin say,” and “douyin extract.”

0 Downloads

Introduction source: third_party · user_9a649d94 · 2.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: douyin-extractor
license: MIT
description: |
  抖音视频文案提取 Skill - 支持从抖音链接/ID/账号提取视频语音转文字。
  触发: "提取这个链接的文案"、"提取抖音文案"、"抖音视频转文字"、"这个抖音讲了什么"、"douyin extract" 等。
metadata:
  author: 扬飞
  version: "2.0.1"
  category: ai/content-extraction

抖音视频文案提取 Skill

概述

专业的抖音内容提取工具,支持从抖音链接、视频 ID、账号名提取视频语音转文字。

模块结构

skill/
├── core/              # 核心模块
│   ├── config.py      # 配置、常量、API Key
│   ├── parser.py      # 输入解析
│   ├── extractor.py   # 视频元数据提取
│   └── asr.py         # 语音转文字
├── search/            # 搜索模块
│   └── account_search.py  # 账号搜索
├── download/          # 下载模块
│   └── video_download.py  # 视频下载
├── rewrite/           # 改写模块
│   └── rewriter.py    # 文案改写
├── outputs/           # 输出模块
│   ├── terminal.py    # 终端输出
│   ├── file.py        # 文件输出
│   ├── feishu.py      # 飞书输出
│   └── obsidian.py    # Obsidian 输出
└── pipeline.py        # 主流程整合

核心优势

  • HTTP SSR 提取 - 无需浏览器,快速解析页面元数据
  • paraformer-v2 ASR - 阿里云语音识别,零下载远程 URL 转写
  • 多端输出 - 终端输出 / 飞书多维表格 / Obsidian vault
  • 可选下载 - 支持下载视频 MP4 到本地
  • 批量处理 - 支持多链接/多 ID 并行处理
  • 智能改写 - 支持指定产品名触发文案改写
  • 模块化设计 - 各功能独立,保持关联性

触发条件

用户说以下关键词时自动激活:

  • 提取这个链接的文案、提取抖音文案
  • 抖音视频转文字、这个抖音讲了什么
  • douyin extract、抖音 ASR
  • 抖音文案拆解、下载抖音视频

输入参数

参数名 类型 默认值 必填 说明
input string - ✅ 抖音视频链接/ID/账号名/文件路径
count number 10 ❌ 账号提取数量
download boolean false ❌ 是否下载视频 MP4 到本地
feishu boolean false ❌ 是否输出到飞书多维表格
no-feishu boolean false ❌ 不发飞书(仅终端/Obsidian)
obsidian boolean false ❌ 是否输出到 Obsidian vault
product string - ❌ 目标产品名(触发文案改写)
format string txt ❌ 输出格式: txt / json
output string /tmp/dy_pipeline ❌ 输出目录
workers number 3 ❌ 并行数

使用示例

单条链接提取

用户: 帮我提取这个抖音的文案 https://www.douyin.com/video/7650147182746931057

批量提取

用户: 提取这几个抖音的文案 https://...,https://...

账号提取

用户: 提取「素观天下」账号的前5条视频

下载视频 + Obsidian

用户: 提取这个抖音,下载视频并存到 Obsidian

文案改写

用户: 提取这个抖音的文案,改写成「芝麻糊」的带货文案

支持的输入类型

类型 示例
视频链接 https://www.douyin.com/video/7650147182746931057
短链接 https://v.douyin.com/xxx
视频 ID 7650147182746931057
多 ID/链接 id1,id2,id3 或 https://...,https://...
账号名 素观天下
文件路径 links.txt(每行一个链接/ID)

前置条件

  • Python 3.7+
  • pip3 install requests
  • DASHSCOPE_API_KEY(阿里云百炼 API Key)
    • 环境变量 DASHSCOPE_API_KEY,或
    • ~/.hermes/.env 中的 DASHSCOPE=
  • 飞书: lark-cli 已安装认证(可选)
  • Obsidian vault: ~/Documents/Obsidian Vault/(可选)
  • 账号搜索: opencli 已安装(可选)

模块依赖关系

main.py → pipeline.py
              ↓
    ┌─────────┼─────────┐
    ↓         ↓         ↓
  core/    search/  download/
    ↓         ↓         ↓
 outputs/  rewrite/
  • core/ 被所有模块依赖
  • search/、download/、rewrite/ 被 pipeline.py 调用
  • outputs/ 负责最终结果输出

Current listing version

2.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决抖音视频文案提取的明确用户需求
  • 支持多种输入方式和批量处理
  • 功能闭环完整,实用价值高
Trigger Precision90/100

Highlights

  • 触发词覆盖全面,边界清晰
  • 支持多种用户表达变体
Structure and Standards90/100

Highlights

  • 文档结构清晰完整
  • 提供丰富的使用示例
  • frontmatter 完整规范
Execution Reliability75/100

Areas to improve

  • 缺少详细的错误处理机制说明 Reported severity: Minor

    文档中未详细说明各种异常情况的处理方式

    Recommendation: 建议补充网络异常、API调用失败、输入格式错误等场景的处理说明

  • 未说明网络异常、API调用失败等场景的处理 Reported severity: Minor

    对于依赖外部API的工具,应提供错误处理指导

    Recommendation: 建议增加错误处理章节,说明常见问题及解决方案

Highlights

  • 工具来源明确,参数说明详细
  • 前置条件和依赖清晰
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 115
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 23, 116
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • v.douyin.com
  • www.douyin.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.