douyin-archive-transcribe
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-archive-transcribe" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f26db431f238caf0a2e1e390f66d86baa741cbe50fd6ae21e439e775367909ce. Verify the upstream source and version against https://skillhub.cn/skills/user_4fa21445/douyin-archive-transcribe 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
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. Used when users request downloading all videos from a Douyin/TikTok China creator, saving videos and copy separately, batch transcribing Douyin videos, validating a creator archive, or continuing/resuming a previous download/transcription run.
Introduction source: third_party · user_4fa21445 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- 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.
- Testing
- Not tested
Browse files
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.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供抖音创作者视频批量下载与转录的完整解决方案
- 支持断点续传和结果验证,提升批量任务可靠性
Highlights
- 触发描述清晰覆盖多种使用场景(下载、转录、归档、续传)
- 边界明确,不易与其他 Skill 混淆
Areas to improve
-
文档长度过长 Reported severity: Minor
SKILL.md 文件约 600 行,内容详尽但可能影响阅读体验
Recommendation: 建议增加目录导航或将部分技术细节移至单独文档
Highlights
- 结构完整,包含目的、方法、命令示例、环境说明、验证流程
- 提供端到端示例和具体命令行操作
Highlights
- 工具来源明确,参数配置合理
- 覆盖网络、CUDA、模型加载等常见异常场景
- 提供验证脚本确保结果完整性
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.
-
Read local files
Limit access to selected files or the project directory. Avoid unrelated private records, secrets and configuration files.
Mentioned in main document · lines 63, 69
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.
- hf-mirror.com
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.
User discussion
No verified reviews yet.