Douyin Browser Publish
/install douyin-browser-publish
抖音视频发布(浏览器自动化)
使用场景
视频文件已准备好,需要发布到抖音创作者平台。
前置条件
- 浏览器已启动(browser tool,profile=openclaw)
- 抖音创作者平台已登录
- 视频文件已存在
发布流程
1. 导航到上传页面
浏览器打开: https://creator.douyin.com/creator-micro/content/upload
2. 让上传框可见
document.querySelectorAll('input[type="file"]').forEach(el => {
el.style.cssText = 'position:fixed!important;top:10px!important;left:10px!important;width:300px!important;height:50px!important;opacity:1!important;z-index:999999!important;display:block!important;visibility:visible!important;pointer-events:auto!important;';
});
3. 上传视频
使用 browser upload 工具,selector=input[type="file"],paths=[视频绝对路径]
4. 等待上传完成
等待 10-15 秒,截图确认预览正常。
5. 填写标题
找到标题输入框(ref 从 snapshot 获取),用 type 写入标题。
6. 填写描述
找到 contenteditable div(在标题下方),用 JS 设置 textContent 并 dispatch input/change 事件:
const editables = document.querySelectorAll('[contenteditable="true"]');
for (const el of editables) {
const rect = el.getBoundingClientRect();
if (rect.top > 200 && rect.top \x3C 400 && rect.height > 30) {
el.textContent = '描述内容';
el.dispatchEvent(new Event('input', {bubbles: true}));
el.dispatchEvent(new Event('change', {bubbles: true}));
break;
}
}
7. 发布
找到"发布"按钮,click。
8. 验证
等待 5 秒,截图确认跳转到"作品管理"页面且状态为"已发布"。
故障处理
- 上传框未找到 → 导航到
https://creator.douyin.com/creator-micro/content/post/video - 登录过期 → 提示用户重新登录
- 上传失败 → 重试一次
元数据模板
标题:{故事名} 琪琪睡前故事
描述:儿童成长故事,适合3-8岁小朋友 #儿童故事 #睡前故事 #亲子时光
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install douyin-browser-publish - 安装完成后,直接呼叫该 Skill 的名称或使用
/douyin-browser-publish触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Douyin Browser Publish 是什么?
抖音视频浏览器自动化发布。输入视频路径、标题、描述,自动完成上传发布。当用户说"发抖音"、"发布到抖音"时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 17 次。
如何安装 Douyin Browser Publish?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install douyin-browser-publish」即可一键安装,无需额外配置。
Douyin Browser Publish 是免费的吗?
是的,Douyin Browser Publish 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Douyin Browser Publish 支持哪些平台?
Douyin Browser Publish 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Douyin Browser Publish?
由 vincentlau2046-sudo(@vincentlau2046-sudo)开发并维护,当前版本 v1.0.0。