mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
39ca8330c5
* feat(douyin): add Douyin creator center adapter (14 commands, 8-phase publish pipeline) - publish: 8-phase pipeline (STS2 → TOS multipart upload w/ resume → ImageX cover → transcode poll → safety check → create_v2) - draft: save as draft (phases 1-6 + is_draft:1, no timing) - videos/drafts/delete/profile/update: content management - hashtag (search/suggest/hot) / location / activities / collections / stats: discovery & analytics - _shared: tos-upload (AWS Sig V4, multipart, resume), imagex-upload, transcode poller (encode=2), browser-fetch, sts2, creation-id, timing, text-extra - 124 tests, tsc clean * fix(douyin): accept unix timestamp strings * docs(douyin): add browser adapter guide --------- Co-authored-by: jackwener <jakevingoo@gmail.com>
2.5 KiB
2.5 KiB
Douyin (抖音创作者中心)
Mode: 🔐 Browser · Domain: creator.douyin.com
Commands
| Command | Description |
|---|---|
opencli douyin profile |
获取账号信息 |
opencli douyin videos |
获取作品列表 |
opencli douyin drafts |
获取草稿列表 |
opencli douyin draft |
上传视频并保存为草稿 |
opencli douyin publish |
定时发布视频到抖音 |
opencli douyin update |
更新视频信息 |
opencli douyin delete |
删除作品 |
opencli douyin stats |
查询作品数据分析 |
opencli douyin collections |
获取合集列表 |
opencli douyin activities |
获取官方活动列表 |
opencli douyin location |
搜索发布可用的地理位置 |
opencli douyin hashtag search |
按关键词搜索话题 |
opencli douyin hashtag suggest |
基于封面 URI 推荐话题 |
opencli douyin hashtag hot |
获取热点词 |
Usage Examples
# 账号与作品
opencli douyin profile
opencli douyin videos --limit 10
opencli douyin videos --status scheduled
opencli douyin drafts
# 发布前辅助信息
opencli douyin collections
opencli douyin activities
opencli douyin location "东京塔"
opencli douyin hashtag search "春游"
opencli douyin hashtag hot --limit 10
# 保存草稿
opencli douyin draft ./video.mp4 \
--title "春游 vlog" \
--caption "#春游 先存草稿"
# 定时发布
opencli douyin publish ./video.mp4 \
--title "春游 vlog" \
--caption "#春游 今天去看樱花" \
--schedule "2026-04-08T12:00:00+09:00"
# 也支持 Unix 秒字符串
opencli douyin publish ./video.mp4 \
--title "春游 vlog" \
--schedule 1775617200
# 更新与删除
opencli douyin update 1234567890 --caption "更新后的文案"
opencli douyin update 1234567890 --reschedule "2026-04-09T20:00:00+09:00"
opencli douyin delete 1234567890
# JSON 输出
opencli douyin profile -f json
Prerequisites
- Chrome running and logged into
creator.douyin.com - The logged-in account must have access to Douyin Creator Center publishing features
- Browser Bridge extension installed
Notes
publishrequires--scheduleto be at least 2 hours later and no more than 14 days laterdraftandpublishupload the video through Douyin/ByteDance browser-authenticated APIs, so cookies in the active browser session must be validhashtag suggestexpects a validcover/cover_urivalue produced during the publish pipeline; for normal manual use,hashtag searchandhashtag hotare usually more convenient