← 返回
数据分析

bilibili-upload

Upload videos to Bilibili (哔哩哔哩). Supports automatic login, title, description, tags, and partition selection.
Upload videos to Bilibili (哔哩哔哩). Supports automatic login, title, description, tags, and partition selection.
izorro
数据分析 clawhub v1.0.0 1 版本 99911.4 Key: 无需
★ 0
Stars
📥 1,128
下载
💾 48
安装
1
版本
#latest

概述

Bilibili Upload 📺

Upload local video files to Bilibili (哔哩哔哩).

Features

  • Upload videos with custom title, description, and tags
  • Support selecting different partitions (tid)
  • Uses biliup for reliable uploading
  • Handles Windows encoding issues automatically

Requirements

  • Python 3.8+
  • biliup package (installed automatically: pip install biliup)

Installation

  1. The skill will install biliup automatically on first use
  2. Run biliup login in terminal to scan QR code and login
  3. Login cookies are saved locally for future use

Usage

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:

  • Path expansion (supports ~ for home directory)
  • Windows UTF-8 encoding to avoid Unicode errors
  • Error checking for missing video file

Common Partition IDs

IDPartition
----------------
138日常
124生活
171科技
95娱乐
188美食
208影视
210体育
201动画
15音乐
189知识

Notes

  • On Windows, always set code page to UTF-8 before login/upload: chcp 65001
  • Set PYTHONIOENCODING=utf-8 to avoid Unicode encoding errors
  • Login needs interactive terminal to display QR code, must do it manually once
  • After login, cookies are saved automatically and future uploads can be automated
  • If you don't see video immediately after upload, it's probably still in Bilibili's review queue

Script

The upload script is located at:

{skill_dir}/upload.py

Where {skill_dir} is the installation directory of this skill. The script accepts any full path from the user, and automatically handles path expansion.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 07:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,929
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 140,096
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 163 📥 59,767