|
| 1 | +# Douyin (抖音创作者中心) |
| 2 | + |
| 3 | +**Mode**: 🔐 Browser · **Domain**: `creator.douyin.com` |
| 4 | + |
| 5 | +## Commands |
| 6 | + |
| 7 | +| Command | Description | |
| 8 | +|---------|-------------| |
| 9 | +| `opencli douyin profile` | 获取账号信息 | |
| 10 | +| `opencli douyin videos` | 获取作品列表 | |
| 11 | +| `opencli douyin drafts` | 获取草稿列表 | |
| 12 | +| `opencli douyin draft` | 上传视频并保存为草稿 | |
| 13 | +| `opencli douyin publish` | 定时发布视频到抖音 | |
| 14 | +| `opencli douyin update` | 更新视频信息 | |
| 15 | +| `opencli douyin delete` | 删除作品 | |
| 16 | +| `opencli douyin stats` | 查询作品数据分析 | |
| 17 | +| `opencli douyin collections` | 获取合集列表 | |
| 18 | +| `opencli douyin activities` | 获取官方活动列表 | |
| 19 | +| `opencli douyin location` | 搜索发布可用的地理位置 | |
| 20 | +| `opencli douyin hashtag search` | 按关键词搜索话题 | |
| 21 | +| `opencli douyin hashtag suggest` | 基于封面 URI 推荐话题 | |
| 22 | +| `opencli douyin hashtag hot` | 获取热点词 | |
| 23 | + |
| 24 | +## Usage Examples |
| 25 | + |
| 26 | +```bash |
| 27 | +# 账号与作品 |
| 28 | +opencli douyin profile |
| 29 | +opencli douyin videos --limit 10 |
| 30 | +opencli douyin videos --status scheduled |
| 31 | +opencli douyin drafts |
| 32 | + |
| 33 | +# 发布前辅助信息 |
| 34 | +opencli douyin collections |
| 35 | +opencli douyin activities |
| 36 | +opencli douyin location "东京塔" |
| 37 | +opencli douyin hashtag search "春游" |
| 38 | +opencli douyin hashtag hot --limit 10 |
| 39 | + |
| 40 | +# 保存草稿 |
| 41 | +opencli douyin draft ./video.mp4 \ |
| 42 | + --title "春游 vlog" \ |
| 43 | + --caption "#春游 先存草稿" |
| 44 | + |
| 45 | +# 定时发布 |
| 46 | +opencli douyin publish ./video.mp4 \ |
| 47 | + --title "春游 vlog" \ |
| 48 | + --caption "#春游 今天去看樱花" \ |
| 49 | + --schedule "2026-04-08T12:00:00+09:00" |
| 50 | + |
| 51 | +# 也支持 Unix 秒字符串 |
| 52 | +opencli douyin publish ./video.mp4 \ |
| 53 | + --title "春游 vlog" \ |
| 54 | + --schedule 1775617200 |
| 55 | + |
| 56 | +# 更新与删除 |
| 57 | +opencli douyin update 1234567890 --caption "更新后的文案" |
| 58 | +opencli douyin update 1234567890 --reschedule "2026-04-09T20:00:00+09:00" |
| 59 | +opencli douyin delete 1234567890 |
| 60 | + |
| 61 | +# JSON 输出 |
| 62 | +opencli douyin profile -f json |
| 63 | +``` |
| 64 | + |
| 65 | +## Prerequisites |
| 66 | + |
| 67 | +- Chrome running and **logged into** `creator.douyin.com` |
| 68 | +- The logged-in account must have access to Douyin Creator Center publishing features |
| 69 | +- [Browser Bridge extension](/guide/browser-bridge) installed |
| 70 | + |
| 71 | +## Notes |
| 72 | + |
| 73 | +- `publish` requires `--schedule` to be at least 2 hours later and no more than 14 days later |
| 74 | +- `draft` and `publish` upload the video through Douyin/ByteDance browser-authenticated APIs, so cookies in the active browser session must be valid |
| 75 | +- `hashtag suggest` expects a valid `cover`/`cover_uri` value produced during the publish pipeline; for normal manual use, `hashtag search` and `hashtag hot` are usually more convenient |
0 commit comments