多平台视频下载转写

SKILL研究检索

原名 video-downloader-enhanced

研究检索 未标注权限 许可证不明确
安装这个技能

支持抖音、小红书、B站和 YouTube 的视频下载,并提取发布文案与语音转写,可回退画质与音频、合并后校验音视频,默认不读取 Cookie,微信视频号暂不支持直接下载。

一句话选型结论

按资料字段整理

多平台视频下载转写是研究检索类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类研究检索 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_430ba93f/video-downloader-enhanced
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

研究检索
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_430ba93f仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-11-06上游最后核验时间 · 数据更新 2026-11-06
正文体量17.2 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

0 项能力
上游给出的能力概览与适用场景
下载平台视频提取发布文案视频语音转写

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查资料并整理出处

让模型按主题查资料,并把引用来源整理成清单。

网页与文献要点提炼

把长文、论文、网页压成能直接看的要点。

竞品与行业汇总

按关键词汇总竞品动态与行业信息。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在研究检索场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
多平台视频下载转写当前 未标注权限 未标注 未标注 未标注 有
寻找技能 浏览器控制 GitHub 仓库 3120.0 万 Codex、Claude、Cursor 有
自我改进 Agent 接触敏感数据 ClawHub 市场 1646.4 万 OpenClaw 有
灵魂追踪 联网访问 GitHub 仓库 758.9 万 Codex、Claude、Cursor 有
自我完善 联网访问 ClawHub 市场 682.9 万 OpenClaw 有
微软代工厂 调用外部服务 GitHub 仓库 661.4 万 Codex、Claude、Cursor 有

SKILL.md 全文

17.2 KB
模型实际读到的说明书原文,来自技能仓库

Video Downloader

Overview

Use this skill to turn a video-platform URL into a local source-material folder containing the video file, post_caption.txt, audio.wav / audio.m4a / audio.mp3, transcript.txt, transcript.srt (when timing is available), and metadata.json.

Terminology:

  • post_caption.txt: platform publish text, title, description, and hashtags.
  • transcript.txt: spoken in-video text from a verified page transcript, otherwise audio ASR.
  • metadata.json: normalized platform metadata plus download and ASR status.

Output Folder Naming

Each download creates a folder with a human-readable name:

YY_MM_DD_标题摘要_平台_作者

Example: 26_01_01_示例视频_抖音_示例作者

Rules:
- Date — video publish date preferred, falls back to download date. Format: YY_MM_DD.
- 标题摘要 — title trimmed to ≤40 characters; newlines, hashtags (#), mentions (@), emoji removed.
- 平台 — Chinese display name: 抖音 / B站 / YouTube / 小红书.
- 作者 — falls back to 未知作者 when unavailable.
- Dedup — if the folder already exists, appends the last 5 characters of the video ID.
- Internal file names (post_caption.txt, metadata.json, etc.) are not affected.

The current implemented providers are Douyin, Bilibili, YouTube, and Xiaohongshu. WeChat Channels is an explicit extension point; do not claim that provider works until its provider module has been implemented and tested. For WeChat Channels links, tell the user to first use the WeChat mini program kg百宝箱 to download the video from the 视频号 link, then continue with local ASR or downstream processing on the downloaded file.

Quick Start

For Douyin, first use the host Agent's supported browser and page-fetch tools as described in references/douyin-browser.md. Guest access is sufficient when the video plays; reuse an existing session if present. Ask the user to handle sign-in only when the page actually requires it. Never extract browser credentials to implement this route.

Pass the browser observation to the bundled CLI:

python3 scripts/download_video.py "https://www.douyin.com/video/1234567890123456789" \
  --browser-capture ./browser-capture.json --output-dir ./downloads

If the page exposes a complete speech transcript or subtitle track, fetch it with the available page-fetch tool (such as web.fetch, when provided), normalize it as documented, and add --page-transcript ./page-transcript.json. A publish caption, chapter summary, comments or search snippet is not a transcript. If no valid page transcript is available, use the existing ASR route.

The CLI consumes these files; it does not launch or control a browser itself. If the host has no supported browser tool, explain that limitation and run the original public fallback routes:

python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads

For metadata/post-caption extraction without downloading the video:

python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --metadata-only

For download without ASR:

python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --asr none

For Chinese speech with local whisper.cpp (recommended):

python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --asr whisper_cpp --asr-language Chinese

For Chinese speech with cloud ASR:

SILICONFLOW_API_KEY="..." python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --asr siliconflow --asr-language Chinese

To bias ASR toward domain terms or a specific script:

python3 scripts/download_video.py "https://v.douyin.com/..." --output-dir ./downloads --asr-language Chinese --asr-prompt "请使用简体中文转写。关键词:视频中的项目名、术语和产品名称。"

Workflow

  1. Identify the platform from the URL.
  2. For Douyin, collect the browser observation and available page speech transcript first. Use scripts/download_video.py to download, validate and archive them. For Bilibili, follow the public-page/browser workflow below before anonymous yt-dlp fallback. For other providers, call the CLI directly.
  3. Inspect the output folder and report:
    - video path, when downloaded
    - post caption path
    - audio path
    - transcript path
    - SRT path (timed page subtitles, whisper.cpp or openai-whisper)
    - metadata path
    - platform, item ID, author, duration, resolution, and any provider caveats

ASR Transcript

After a video is downloaded, a valid supplied Douyin page transcript is preferred and audio is extracted without ASR. Otherwise the CLI extracts audio with ffmpeg and transcribes it. Use --transcript-source asr to force speech recognition. --asr none skips both transcript import and audio extraction. Four backends are available, selected via --asr.

Backend Options

Backend Description
auto (default) Auto-detect: whisper.cpp > openai-whisper > SiliconFlow
whisper_cpp Local whisper.cpp (whisper-cli), fastest on Apple Silicon
whisper Local openai-whisper Python CLI
siliconflow Cloud API via SiliconFlow SenseVoiceSmall
none Skip audio extraction and transcription entirely

--asr auto Priority

When --asr auto (the default) is used, the backend is selected in this order:

  1. whisper.cpp — if WHISPER_CPP_BIN points to an executable file, or whisper-cli is available on PATH, and WHISPER_CPP_MODEL points to an existing model file.
  2. openai-whisper — if the whisper CLI is available on PATH.
  3. SiliconFlow — if SILICONFLOW_API_KEY is set in the environment.
  4. If none of the above are available, an error is returned. No software is auto-installed.

whisper.cpp (--asr whisper_cpp)

The recommended local backend for best performance on Apple Silicon.

Environment variables:

  • WHISPER_CPP_BIN — optional explicit path to whisper-cli; when unset, search PATH
  • WHISPER_CPP_MODEL — required path to a local GGML model file
export WHISPER_CPP_BIN="/path/to/whisper-cli"
export WHISPER_CPP_MODEL="/path/to/ggml-large-v3-turbo.bin"

Do not assume a platform-specific default path. No software is installed automatically.

Output artifacts:
- audio.wav (16 kHz PCM)
- transcript.txt
- transcript.srt (subtitles with timestamps)
- transcript.whisper_cpp.json (metadata)

The model is always the file path, not a model name — --asr-model is ignored for whisper_cpp.

openai-whisper (--asr whisper)

Output artifacts:
- audio.m4a
- transcript.txt
- transcript.srt
- transcript.whisper.json

SiliconFlow (--asr siliconflow)

Requires SILICONFLOW_API_KEY. Calls https://api.siliconflow.cn/v1/audio/transcriptions.

Output artifacts:
- audio.mp3
- transcript.txt
- transcript.siliconflow.json

SiliconFlow does not currently provide an SRT file; srt_path is returned as null.

Result Contract

Every ASR result includes status, backend, model, language, audio_path,
transcript_path, srt_path, raw_json_path, and error. A selected backend
that fails returns status: failed; auto does not silently retry another
backend after transcription has started.

Common Options

  • --asr-language — Language for transcription, e.g. Chinese, zh, English, auto. Default: auto.
  • --asr-model — Model name. Default: auto (whisper.cpp ignores this; openai-whisper defaults to base; SiliconFlow maps to FunAudioLLM/SenseVoiceSmall).
  • --asr-prompt — Initial prompt passed to the ASR engine. Use it to request Simplified Chinese output and provide domain terms.
  • --asr-max-seconds — Debug limit: transcribe only the first N seconds of audio.

Douyin Provider

The Agent first opens the requested video in its supported browser, observes the actual media source, and supplies a capture file. The CLI routes in this order:

  1. Browser-observed public media URL → curl → media validation; merge separate video/audio streams with FFmpeg when necessary.
  2. H5 share-page metadata and public media endpoint.
  3. Anonymous yt-dlp, with external yt-dlp configuration disabled.
  4. Browser Cookie fallback only when the user explicitly authorizes it and --douyin-cookies-from-browser <browser> is passed. It is off by default and may cause an OS keychain prompt. Do not add this flag just because another route failed.

Stop after the first successful, validated download. A stale media URL may be refreshed once in the browser; do not repeatedly retry login challenges. Missing browser capability is recorded as not_supplied, not as a successful browser attempt. --no-yt-dlp-fallback keeps browser and H5 routes enabled.

Use references/douyin-browser.md for capture and transcript schemas, source verification, expiry handling and profile/collection boundaries. Browser captures and page transcripts are runtime inputs outside the installed Skill, not distributable resources.

Browser-sourced media is saved as delivered by the platform; do not promise watermark removal or a specific resolution. Every successful Douyin download is checked with ffprobe. metadata.json records the successful method, Cookie use, validation and fallback history. Page transcript provenance is recorded separately from ASR.

Bilibili Provider

Bilibili only: prefer public media observation, then anonymous yt-dlp, then an explicitly authorized Cookie fallback. Other providers retain their existing behavior.

  1. Fetch the public video page with an available page-fetch tool or HTTP client. If it exposes complete playback data, use those real addresses; title/description alone is not playback data. Handle HTTP compression normally.
  2. If necessary and available, use the host's supported browser tools to inspect the actual player media. Guest access is sufficient when playable. Do not extract credentials. Skip unavailable/timed-out browser tools; do not repeatedly retry challenges.
  3. If playback information is available, normalize it to the schema below and pass --bilibili-media-info. Otherwise call the CLI without that flag for anonymous yt-dlp extraction. If supplied media addresses expire or exhaust their candidates, refresh the observation once or retry without that flag for fresh anonymous extraction before considering Cookie access.
  4. The CLI tries available video formats in descending height, with supplied backup addresses at the same quality before lower quality. It retries audio independently, merges to MP4, and validates audio/video tracks, duration and actual resolution with ffprobe. Report any quality downgrade.
  5. DNS failures, timeouts and HTTP 567 are network/CDN evidence, not proof of a login requirement. Inspect recorded failure categories. Do not automatically read Chrome Cookies. Only after explicit user authorization may --bilibili-cookies-from-browser chrome be passed. This retains Cookie fallback and may trigger a macOS keychain prompt; it does not guarantee success or grant paid-content access.

Anonymous example:

python3 scripts/download_video.py "https://www.bilibili.com/video/BV.../" --output-dir ./downloads --asr none

--bilibili-media-info path.json accepts yt-dlp-shaped JSON with id matching the canonical URL's BV id, title, optional description, uploader, upload_date, duration, and formats. Each format needs a unique format_id, actual HTTP(S) url, vcodec and acodec (none for an absent stream), and video width/height. Optional fields: ext, tbr/abr, http_headers (public request headers only), backup_url (array of observed addresses). Supply both video and audio when streams are separate. For a b23 short link, resolve the canonical Bilibili URL before using supplied media info. Never invent CDN hosts or alter signed URL parameters. This CLI consumes observations; it does not control a browser or automatically fetch/parse arbitrary page HTML.

All Bilibili yt-dlp calls ignore external configuration and disable browser Cookies by default. Each candidate has a 15-second socket timeout, no internal retry, and a 180-second overall limit; at most 12 video and 6 audio candidates are tried per download pass. Cookie fallback is a separate pass only when explicitly enabled. Stop after validated success. Metadata records selected format IDs, CDN hostnames, Cookie usage, failure categories, quality downgrade and validation. Signed addresses and credentials are not included in failure summaries. For compatibility, raw_ytdlp_metadata retains only selected public descriptive fields; media URLs, request headers and Cookies are omitted. Do not include secrets in supplied JSON.

YouTube Provider

The YouTube provider uses yt-dlp as the primary route for both metadata extraction and media download.

Important behavior:

  • Support youtube.com and youtu.be links.
  • Store the YouTube title plus description in post_caption.txt.
  • Store yt-dlp raw metadata and normalized fields in metadata.json.
  • Download with bv*+ba/b and merge to mp4 when possible.
  • Use local Node as the yt-dlp JavaScript runtime when available.
  • Retry with --remote-components ejs:github or Chrome cookies when the basic route fails.
  • Use --metadata-only for fast tests or when the user only needs title/description metadata.

Xiaohongshu Provider

The Xiaohongshu provider uses a three-tier download fallback:

  1. Anonymous yt-dlp — public download without any authentication (no cookies).
  2. Public direct URL — if metadata is available but anonymous yt-dlp can't download, extracts the highest-quality video stream URL from yt-dlp's formats metadata and downloads it via plain HTTP.
  3. Chrome cookies yt-dlp — last resort; requires local Chrome browser access.

Metadata extraction is always anonymous — cookies are never triggered just to get author info or metadata.

Important behavior:

  • Support xiaohongshu.com, xhslink.com, and xhslink.cn links.
  • Store the Xiaohongshu title plus note body in post_caption.txt.
  • Store yt-dlp raw metadata and normalized fields in metadata.json.
  • Author nickname is taken from anonymous metadata; falls back to 未知作者 when unavailable.
  • Remote assistant: if both public routes fail, reports "需要在电脑端授权 Chrome Cookie" immediately instead of hanging.
  • Safety: no cookies.txt is saved; cookie contents are never logged or included in output.
  • metadata.json records download.method, download.cookie_used, download.direct_url_source, and download.fallback_errors for full traceability.
  • Use --metadata-only for fast tests or when the user only needs title/note metadata.

WeChat Channels Provider

WeChat Channels is recognized but not implemented yet.

Current finding:

  • yt-dlp does not support the tested weixin.qq.com/sph/... share link.
  • The public web page can expose text, cover image, and QR-code flow, but did not expose a playable video URL in the tested case.
  • Do not claim that this skill can directly download WeChat Channels videos until a provider has been implemented and tested.

Temporary workflow:

  • Ask the user to open WeChat and search for the mini program kg百宝箱.
  • In kg百宝箱, paste the 视频号 video link and download the video there.
  • After the user has the downloaded video file locally, this skill can still be used for local ASR/transcript work if the file is passed through the ASR helper or a future local-file entrypoint.

Provider Extension Contract

Add new platforms by creating a module under scripts/providers/ and registering it in scripts/providers/__init__.py.

Each provider should expose:

  • PLATFORM: stable provider name
  • supports(url: str) -> bool
  • fetch(url: str, output_root: Path, *, metadata_only: bool = False, **options) -> dict

Output folders should include the same artifact contract whenever possible:

  • metadata.json
  • post_caption.txt
  • audio.wav / audio.m4a / audio.mp3 and transcript.txt when ASR is enabled
  • transcript.srt when timed page subtitles or a timestamped ASR backend are used
  • video file when download is enabled

Reserved providers:

  • wechat_channels

When a reserved provider is detected but not implemented, say so plainly and do not fabricate a download result.

Safety

Download only material the user owns, has permission to download, or can lawfully archive for their intended use. Do not bypass DRM, paid access controls, private permissions, or platform restrictions for unauthorized redistribution.

常见问题

5 问
答案由本站依据条目字段整理
多平台视频下载转写怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_430ba93f/video-downloader-enhanced。安装方式为未标注。装完刷新技能列表或重开客户端。

多平台视频下载转写支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

多平台视频下载转写权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

多平台视频下载转写收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

多平台视频下载转写用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-11-06。