🦀 ClawHub
bilibili-upload
by @izorro
Upload videos to Bilibili (哔哩哔哩). Supports automatic login, title, description, tags, and partition selection.
TERMINAL
clawhub install bilibili-upload📖 About This Skill
name: bilibili-upload description: Upload videos to Bilibili (哔哩哔哩). Supports automatic login, title, description, tags, and partition selection.
Bilibili Upload 📺
Upload local video files to Bilibili (哔哩哔哩).
Features
Requirements
biliup package (installed automatically: pip install biliup)Installation
1. The skill will install biliup automatically on first use 2. Runbiliup login in terminal to scan QR code and login
3. Login cookies are saved locally for future useUsage
First Time Login (required once)
chcp 65001
$env:PYTHONIOENCODING = "utf-8"
biliup login
Scan the QR code with Bilibili App to login. Cookies are saved automatically for future use.Basic Upload
chcp 65001
$env:PYTHONIOENCODING = "utf-8"
python {skill_dir}/upload.py ^
"full/path/to/your/video.mp4" ^
--title "Your Video Title" ^
--desc "Video description" ^
--tags "tag1,tag2,tag3" ^
--tid 138
Example (after login)
python ~/.openclaw/workspace/skills/bilibili-upload/upload.py ^
"C:\Users\hyzu\Documents\openclaw\news_briefing_20260311.mp4" ^
--title "2026年3月11日新闻简报" ^
--desc "每日新闻简报,带金色字幕,AI自动生成" ^
--tags "新闻,每日新闻,简报,AI生成" ^
--tid 138
The script automatically handles:
~ for home directory)Common Partition IDs
| ID | Partition | |-----|-----------| | 138 | 日常 | | 124 | 生活 | | 171 | 科技 | | 95 | 娱乐 | | 188 | 美食 | | 208 | 影视 | | 210 | 体育 | | 201 | 动画 | | 15 | 音乐 | | 189 | 知识 |Notes
chcp 65001PYTHONIOENCODING=utf-8 to avoid Unicode encoding errorsScript
The upload script is located at:{skill_dir}/upload.pyWhere {skill_dir} is the installation directory of this skill. The script accepts any full path from the user, and automatically handles path expansion.
💡 Examples
First Time Login (required once)
chcp 65001
$env:PYTHONIOENCODING = "utf-8"
biliup login
Scan the QR code with Bilibili App to login. Cookies are saved automatically for future use.Basic Upload
chcp 65001
$env:PYTHONIOENCODING = "utf-8"
python {skill_dir}/upload.py ^
"full/path/to/your/video.mp4" ^
--title "Your Video Title" ^
--desc "Video description" ^
--tags "tag1,tag2,tag3" ^
--tid 138
Example (after login)
python ~/.openclaw/workspace/skills/bilibili-upload/upload.py ^
"C:\Users\hyzu\Documents\openclaw\news_briefing_20260311.mp4" ^
--title "2026年3月11日新闻简报" ^
--desc "每日新闻简报,带金色字幕,AI自动生成" ^
--tags "新闻,每日新闻,简报,AI生成" ^
--tid 138
The script automatically handles:
~ for home directory)Common Partition IDs
| ID | Partition | |-----|-----------| | 138 | 日常 | | 124 | 生活 | | 171 | 科技 | | 95 | 娱乐 | | 188 | 美食 | | 208 | 影视 | | 210 | 体育 | | 201 | 动画 | | 15 | 音乐 | | 189 | 知识 |📋 Tips & Best Practices
chcp 65001PYTHONIOENCODING=utf-8 to avoid Unicode encoding errors