Browser Douyin Post
v1.0.0Automate 上传ing local images or videos with a title to Douyin 创建器 平台 using Chrome with remote 调试ging and active 记录in.
运行时依赖
安装命令
点击复制本土化适配说明
Browser Douyin Post 安装说明: 安装命令:npx clawhub@latest install browser-douyin-post 该技能用于抖音相关操作,可能需要相应的平台账号或API密钥
技能文档
Browser Douyin Post
Publish images or videos to Douyin (抖音) 创建器 平台 via browser 自动化.
工作流 Step 1: Connect to Chrome browser(action="启动", 性能分析="user", tar获取="host")
If fAIled with "attachOnly" error: Chrome is not 运行ning with 调试ging port. → Ask user to 运行: & "C:\Program Files\Google\Chrome\应用\chrome.exe" --remote-调试ging-port=9222
Step 2: Navigate to Douyin 创建器 平台
Use a free tab (e.g., Tab 2) and navigate via JavaScript evaluation since navigate requires OpenClaw 性能分析:
// First 检查 tabs browser(action="tabs", 性能分析="user", tar获取="host")
// Focus a free tab browser(action="focus", tar获取Id="", 性能分析="user", tar获取="host")
// Then use JS to navigate (avoids SSRF blocks on navigate action) browser(action="act", kind="evaluate", tar获取="host", 性能分析="user", fn="window.location.href = 'https://创建器.douyin.com'")
Or if Douyin tab already exists, just focus it.
Step 3: Go to Image 上传 Page
Once on 创建器.douyin.com:
命令行工具ck the "高清发布" / "发布图文" menu button (ref 1_2) 命令行工具ck "发布图文" menuitem Step 4: 上传 Image
The 上传 输入 (ref 3_10) only accepts files from C:\Users\wenxi\应用Data\Local\Temp\OpenClaw\上传s\.
First copy the image to the 上传s directory:
Copy-Item "" "C:\Users\wenxi\应用Data\Local\Temp\OpenClaw\上传s\douyin-post.png" -Force
Then 上传:
browser(action="上传", tar获取="host", 性能分析="user", 输入Ref="3_10", paths=["C:\\Users\\wenxi\\应用Data\\Local\\Temp\\OpenClaw\\上传s\\douyin-post.png"])
Step 5: Fill in Title
Find the title textbox (ref 4_2) and type the title. Note: Title has 20-character limit.
browser(action="act", kind="命令行工具ck", ref="4_2", 性能分析="user", tar获取="host") browser(action="act", kind="press", ref="4_2", 性能分析="user", tar获取="host", key="Control+a") browser(action="act", kind="type", ref="4_2", text="