自动将视频发布到中国三大主流平台:**B站(Bilibili)**、**抖音(Douyin)**、**小红书(Xiaohongshu)**。
自动发布视频到中国三大平台(B站、抖音、小红书)
huanghonggit
@huanghonggit
What This Skill Does
Automates video publishing to three major Chinese platforms: Bilibili, Douyin, and Xiaohongshu. Handles video upload, title, description, and tags via browser automation with cookie persistence.
Replaces manually uploading videos to each platform separately by automating the entire cross-posting workflow.
When to Use It
- Publish a new video to all three Chinese platforms simultaneously
- Cross-post a video to Bilibili and Douyin only
- Schedule bulk video uploads with custom titles and descriptions
- Automate video distribution for a content creator account
- Repurpose a single video file for multiple Chinese social media channels
Install
$ openclaw skills install @huanghonggit/video-auto-publisher-cnvideo-auto-publisher-cn
自动将视频发布到中国三大主流平台:B站(Bilibili)、抖音(Douyin)、小红书(Xiaohongshu)。
功能特性
- ✅ 完全自动化发布到三个平台
- ✅ 自动上传视频文件
- ✅ 自动填写标题、描述、标签
- ✅ Cookie 持久化,保持登录状态
- ✅ 智能成功检测
- ✅ 详细日志记录
使用方法
基础用法
/video-auto-publisher-cn
这将自动发布最新的视频到三个平台。
指定视频文件
/video-auto-publisher-cn --video path/to/video.mp4
指定平台
/video-auto-publisher-cn --platforms bilibili,douyin
自定义标题和描述
/video-auto-publisher-cn --title "我的视频标题" --description "视频描述内容"
前置要求
- Python 环境: Python 3.8+
- 依赖安装:
pip install playwright python -m playwright install chromium - 首次登录: 需要先登录各平台保存 cookies
参数说明
--video: 视频文件路径(可选,默认使用最新视频)--title: 视频标题(可选,默认自动生成)--description: 视频描述(可选,默认自动生成)--tags: 标签列表,逗号分隔(可选)--platforms: 目标平台,逗号分隔(可选,默认全部)--headless: 是否使用无头模式(可选,默认 false)
示例
发布到所有平台
/video-auto-publisher-cn
只发布到 B站 和抖音
/video-auto-publisher-cn --platforms bilibili,douyin
指定完整信息
/video-auto-publisher-cn \
--video my_video.mp4 \
--title "精彩视频" \
--description "这是一个很棒的视频" \
--tags "娱乐,搞笑,日常"
注意事项
- Cookies 有效期: Cookies 通常 7-14 天过期,需要重新登录
- 视频格式: 支持 MP4、MOV、MKV 等常见格式
- 视频大小:
- B站: 16GB 以内
- 抖音: 根据平台限制
- 小红书: 根据平台限制
- 网络要求: 需要稳定的网络连接
故障排查
Cookies 过期
# 重新登录保存 cookies
python login_platforms.py
查看日志
# 日志保存在 logs/ 目录
cat logs/publish_*.log
技术细节
- 浏览器自动化: Playwright
- 反检测: 非 headless 模式 + 真实用户行为模拟
- 成功检测: 多重验证机制(URL、关键词、元素)
- 错误处理: 完善的异常捕获和日志记录
更新日志
v1.0.0 (2026-03-19)
- ✅ 初始版本
- ✅ 支持 B站、抖音、小红书
- ✅ 完全自动化发布
- ✅ Cookie 持久化
- ✅ 详细日志记录
Top skills in this category
Wechat Article Search
@wuchubuzai2018搜索微信公众号文章技能。通过微信搜索获取文章列表,覆盖科技/AI、社会热点、财经、教育、职场等各类中文资讯;可按关键词检索并返回标题、概要、发布时间、来源公众号与链接。当用户需要查找微信公众号文章、整理参考资料或快速获取文章信息时使用此技能。
Figma
@hith3shRead files, manage comments, extract design tokens, download images, and create webhooks in Figma via the Figma REST API. Use this skill when users want to i...
Social Media Scheduler
@1kalinPlan, draft, and organize social media content across platforms. Create content calendars, write platform-optimized posts, and maintain consistent posting schedules.
Alexa CLI
@buddyhControl Amazon Alexa devices and smart home via the `alexacli` CLI. Use when a user asks to speak/announce on Echo devices, control lights/thermostats/locks, send voice commands, or query Alexa.
Cinematic Script Writer
@praveenspeaksCreate professional cinematic scripts for AI video generation with character consistency and cinematography knowledge. Use when the user wants to write a cinematic script, create story contexts with characters, generate image prompts for AI video tools (Midjourney, Sora, Veo), or needs cinematography guidance (camera angles, lighting, color grading). Also use for character consistency sheets, voice profiles, anachronism detection, and saving scripts to Google Drive.