douyin-archive-transcribe
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "douyin-archive-transcribe":https://skillpi.com/zh/skills/deepskill-f26db431f238caf0a2e1e390f66d86baa741cbe50fd6ae21e439e775367909ce。安装前核对上游来源和版本:https://skillhub.cn/skills/user_4fa21445/douyin-archive-transcribe。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
从抖音分享链接或主页 URL 下载并存档创作者的公开视频,逐条将每个视频转录为一对一的 Markdown 文本文件。用于用户要求下载抖音/中国 TikTok 创作者所有视频、单独保存视频与文案、批量转录抖音视频、验证创作者档案或继续/恢复先前的下载/转录任务时触发。
介绍来源: third_party · user_4fa21445 · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: douyin-archive-transcribe
description: Download and archive a Douyin creator's public videos from a share link or profile URL, then transcribe each video into a one-to-one Markdown text file. Use when the user asks to download all videos from a Douyin/TikTok China creator, save videos and copywriting separately, batch transcribe Douyin videos, validate a creator archive, or continue/resume a previous Douyin download/transcription run.Douyin Archive Transcribe
Purpose
Archive a Douyin creator's currently collectable public works into a dedicated local folder, with one video file and one matching Markdown transcript file per work. Keep the workflow resumable and evidence-driven: collect the manifest, download media, transcribe audio, then verify every manifest item has a video and non-failed transcript.
Use only for content the user owns, has permission to archive, or is otherwise allowed to save under platform rules.
Required Approach
- Inspect the current project before acting. Prefer an existing local downloader/transcriber such as
douyin_downloader.pyif present. - Resolve the provided Douyin share URL with the browser/network-capable workflow and collect the creator's video list first. Save a manifest such as
douyin_manifest.json. - Store each creator/job in its own directory, for example
downloads/douyin_<share-code>ordownloads/douyin_<creator-name>. Do not mix results from different creators. - Download each video as
.mp4and write a same-basename.mdbeside it. - The Markdown file must include metadata, original caption, and
## Transcriptwith actual transcribed text. A file containing only a failure message is not complete. - Make runs resumable. Reuse existing complete
.mp4files and skip.mdfiles only when they already contain a non-failed transcript. - Verify completion against the manifest. Do not claim completion until every collected item has exactly one video and one transcript file.
Recommended Command Pattern
When this repo's douyin_downloader.py is available, use it as the primary implementation.
First list/collect only:
python douyin_downloader.py "<douyin-share-or-profile-url>" --list-only --max-scrolls 180 --idle-rounds 12 --timeout-ms 60000
Then run the archive:
$env:HF_ENDPOINT='https://hf-mirror.com'
python douyin_downloader.py "<douyin-share-or-profile-url>" -o "downloads/douyin_<job-id>" --max-scrolls 180 --idle-rounds 12 --timeout-ms 60000 --transcribe-model base --transcribe-device cpu --compute-type int8 --language zh
Use base for a stable first pass. Use small or medium only when the user asks for better transcription quality and accepts longer runtime.
If the first full run is risky or the user asks for a dry run, run a sample first:
$env:HF_ENDPOINT='https://hf-mirror.com'
python douyin_downloader.py "<url>" -o "downloads/douyin_<job-id>_sample" --max-videos 2 --max-scrolls 30 --idle-rounds 5 --timeout-ms 60000 --transcribe-model base --transcribe-device cpu --compute-type int8 --language zh
Environment Notes
- Request network escalation before resolving Douyin links, downloading videos, or fetching ASR models.
- Use
HF_ENDPOINT=https://hf-mirror.comwhen Hugging Face access is unstable in mainland China. - Prefer
--transcribe-device cpu --compute-type int8unless CUDA is known to work. This avoids failures such as missingcublas64_12.dll. ffmpegis required for audio extraction.faster-whisperis preferred when available. If no ASR engine or model is available, install/cache one before claiming the transcript step is complete.
Verification
Run a manifest-to-files audit after the command completes:
python -c "import json, pathlib; out=pathlib.Path('downloads/douyin_<job-id>'); data=json.loads((out/'douyin_manifest.json').read_text(encoding='utf-8')); ids=[x['aweme_id'] for x in data]; issues=[]; rows=[]
for aid in ids:
mp4=list(out.glob(f'*_{aid}.mp4'))
md=list(out.glob(f'*_{aid}.md'))
if len(mp4)!=1 or len(md)!=1:
issues.append((aid, len(mp4), len(md))); continue
s=md[0].read_text(encoding='utf-8')
transcript=s.split('## Transcript',1)[1].strip() if '## Transcript' in s else ''
bad=not transcript or 'Transcription failed:' in transcript or 'No transcript' in transcript or 'Skipped by --skip-transcribe' in transcript
if bad: issues.append((aid, 'bad_transcript', len(transcript)))
rows.append((aid, mp4[0].stat().st_size, len(transcript)))
print('manifest_items', len(data)); print('matched_rows', len(rows)); print('issues', issues); print('mp4_count', len(list(out.glob('*.mp4')))); print('md_count', len([p for p in out.glob('*.md') if p.name[:3].isdigit()])); print('total_video_bytes', sum(p.stat().st_size for p in out.glob('*.mp4'))); print('total_transcript_chars', sum(r[2] for r in rows))"
Completion criteria:
manifest_itemsequals the creator video count collected for this run.mp4_countequalsmanifest_items.- numbered
md_countequalsmanifest_items. issues [].- Each
.mdhas actual text after## Transcript.
Reporting
In the final response, include:
- Absolute output directory path.
- Creator name if collected from manifest.
- Counts for manifest items, videos, and Markdown transcripts.
- Total video size and total transcript characters when available.
- Any quality caveat, especially if using
baseASR or if OCR/manual cleanup may be needed.
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供抖音创作者视频批量下载与转录的完整解决方案
- 支持断点续传和结果验证,提升批量任务可靠性
亮点
- 触发描述清晰覆盖多种使用场景(下载、转录、归档、续传)
- 边界明确,不易与其他 Skill 混淆
待提升项
-
文档长度过长 原报告严重程度:轻微
SKILL.md 文件约 600 行,内容详尽但可能影响阅读体验
改进建议:建议增加目录导航或将部分技术细节移至单独文档
亮点
- 结构完整,包含目的、方法、命令示例、环境说明、验证流程
- 提供端到端示例和具体命令行操作
亮点
- 工具来源明确,参数配置合理
- 覆盖网络、CUDA、模型加载等常见异常场景
- 提供验证脚本确保结果完整性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
读取本地文件
限定到你选择的文件或项目目录;避免读取无关的个人资料、密钥和配置文件。
主文档提及 · 第 63, 69 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- hf-mirror.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。