Install
openclaw skills install douyin-to-obsidian抖音视频文案自动提取工具,一键将抖音视频转为结构化 Obsidian 笔记。支持绕过风控、本地 Whisper 语音识别、长视频分段处理。
openclaw skills install douyin-to-obsidian🎯 抖音视频文案自动提取工具
一键将抖音视频转为结构化 Obsidian 笔记,支持绕过风控、本地 Whisper 语音识别、长视频分段处理。
# 1. 安装依赖
pip install -r scripts/requirements.txt
# 2. 安装浏览器自动化
playwright install chromium
# 3. 运行提取
python scripts/run_extract.py "https://v.douyin.com/xxxxx/"
支持多种输入格式:
https://v.douyin.com/xxxxx/3.58 KJi:/ d@A.tR 06/21 通达信自选股+Python#qmt#量化交易 https://v.douyin.com/xxxxx/https://v.douyin.com/xxxxx/笔记自动保存到 Obsidian 目录(默认:E:\icloud\iCloudDrive\iCloud~md~obsidian\myobsidian)
---
标题:视频标题
作者:作者名
链接:https://v.douyin.com/xxx
时长:7 分 42 秒
提取时间:2026-03-22 20:15:00
标签:#AI #杨立昆 #AGI
---
# 视频标题
完整的语音识别文案内容...
requests>=2.31.0
aiohttp>=3.9.0
ffmpeg-python>=0.2.0
openai-whisper>=20231117
openai>=1.0.0
playwright>=1.40.0
A: 首次运行时会自动下载 FFmpeg(约 100MB),请确保网络连接正常。Windows 用户无需手动安装。
A: 首次运行需下载 Whisper 模型(base 模型约 150MB),后续会使用缓存。识别速度取决于 CPU 性能。
A: 编辑 scripts/run_extract.py 第 50 行的 base_dir 变量。
A: 检查网络连接,确保能访问抖音。如仍失败,查看生成的 failed_page.html 和 failed_ssr_data.json 文件。
douyin-to-obsidian/
├── SKILL.md # 技能描述
├── README.md # 详细说明
├── scripts/
│ ├── run_extract.py # 主入口
│ ├── extractor.py # 核心引擎
│ └── requirements.txt # 依赖列表
└── reference/
└── architecture.md # 架构文档
MIT-0