Best use case
douyin-data-exporter is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
抖音数据导出技能 - 获取用户主页视频数据
Teams using douyin-data-exporter should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/douyin-data-exporter/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How douyin-data-exporter Compares
| Feature / Agent | douyin-data-exporter | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
抖音数据导出技能 - 获取用户主页视频数据
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
## 抖音数据导出技能(含投流数据)
### 功能
本技能通过 TikHub API 获取指定抖音用户的主页视频列表,支持分页和自动翻页;同时可选通过 BOSS 平台接口获取该账号的投流订单导出数据(需提供独立 Token)。所有数据将保存为 JSON 和/或 CSV/Excel 格式到工作区。
### 使用方法
基于真实的 Python 路径,以下为参考命令:
powershell
```
& "F:\\python 3.10\\python.exe" C:\\Users\\EDY\\.openclaw\\skills\\douyin-data-exporter\\export.py `
--sec-user-id "用户的 sec_user_id" `
--account-name "账号名称" `
[--max-videos 100] `
[--export-format both] `
[--douplus-token "投流API Token"] `
[--douplus-customer-id "336"]
```
### 参数说明
| 参数 | 必填 | 说明 |
| :---------------------- | :--- | :------------------------------------------------- |
| `--sec-user-id` | 是 | 抖音用户的 sec_user_id(从浏览器或开发者工具获取) |
| `--account-name` | 是 | 账号名称,用于命名输出文件 |
| `--max-videos` | 否 | 最大获取视频数量,默认 100 |
| `--export-format` | 否 | 视频导出格式:`json`、`csv` 或 `both`,默认 `both` |
| `--douplus-token` | 否 | 投流 API 的 Bearer Token(从浏览器获取) |
| `--douplus-customer-id` | 否 | 投流 API 的 customerId(如 `336`,可从浏览器获取) |
> 注:若同时提供命令行参数和环境变量,命令行参数优先。
### 输出
所有输出文件保存在 `C:\Users\EDY\.openclaw\workspace\data` 目录。
| 数据类型 | 文件格式 | 文件名示例 |
| :----------- | :------------------ | :----------------------------------------------------------- |
| 视频列表 | JSON / CSV | `{account_name}_videos_{timestamp}.json` / `.csv` |
| 投流订单数据 | Excel (xlsx) / JSON | `{account_name}_投流数据_{timestamp}.xlsx`(若 API 返回 Excel) `{account_name}_投流数据_{timestamp}.json`(若返回 JSON) |
| 汇总报告 | JSON | `{account_name}_导出汇总报告_{timestamp}.json` |
### 配置要求
#### 1. 获取 TikHub Token(用于视频数据)
1. 访问 [TikHub 官网](https://user.tikhub.io/register) 注册并登录。
2. 在个人中心获取您的 API Token。
3. 设置环境变量 `TIKHUB_TOKEN`,或直接在脚本中修改 `TIKHUB_TOKEN` 变量(不推荐硬编码)。
> ⚠️ 官网链接可能需登录,若无法访问请确认网络或账号状态。
#### 2. 获取投流 API Token 和 Customer ID(用于投流数据)
- **Token**:联系平台管理员或从 BOSS 系统后台获取有效的 Bearer Token。
- **Customer ID**:通常为数字标识(如 `336`),需向平台方确认。Related Skills
Database Engineering Mastery
> Complete database design, optimization, migration, and operations system. From schema design to production monitoring — covers PostgreSQL, MySQL, SQLite, and general SQL patterns.
Data Room Builder
Build a structured virtual data room checklist and folder hierarchy for fundraising, M&A, or due diligence.
Data Privacy & Protection Program
You are a **Data Privacy Officer (DPO) agent** — a comprehensive privacy program architect. You help organizations build, operate, and mature privacy programs that comply with global regulations (GDPR, CCPA/CPRA, LGPD, PIPEDA, POPIA, APPI, PDPA) while enabling business growth.
Data Migration Planner
Plan, execute, and validate data migrations between systems. Covers schema mapping, ETL pipeline design, rollback strategies, and post-migration validation.
Data Governance Framework
Assess, score, and remediate your organization's data governance posture across 6 domains.
Data Analyst — AfrexAI ⚡📊
**Transform raw data into decisions. Not just charts — answers.**
data-analysis-partner
智能数据分析 Skill,输入 CSV/Excel 文件和分析需求,输出带交互式 ECharts 图表的 HTML 自包含分析报告
Made-in-China Trade Data Analyst
**Short Description**
douyin-posting
协助用户将本地或用户提供的视频发布到抖音账号。包含上传流程说明、开放平台 API 使用指引及发布前检查。Use when: 用户要发抖音、上传视频到抖音、把视频发到抖音、post to Douyin、抖音发布。NOT for: 抖音视频下载、抖音数据分析、非发布类抖音操作。
ercdata
Store, verify, and manage AI data on the Ethereum blockchain (Base network) using the ERCData standard. Use when an agent needs to store data fingerprints on-chain, verify data integrity, create audit trails, manage access control for private data, or interact with the ERCData smart contract. Supports public and private storage, EIP-712 verification, snapshots, and batch operations.
conversation-exporter
对话历史导出工具 - 将 WorkBuddy 的对话历史导出为多种格式(JSON/Markdown/TXT),包含时间线、元数据、统计数据、成就里程碑和 Skills 使用记录,便于归档分析和分享
douyin-cover-builder
这是一个面向中文创作者的 OpenClaw Skill,输入主题与人物气质后,会输出可直接用于生图模型的高质量提示词与创意说明。