About bilibili-downloader
A skill that downloads Bilibili video and audio streams from a video URL or BV number, saving them as separate MP4 files in a specified directory. It is for users who need to save available Bilibili media locally.
Key features
- 01Accept a video URL or BV number
- 02Save video and audio as separate MP4 files
- 03Specify an output directory
- 04Report invalid URLs and access errors
Use cases
- 01Save a Bilibili video locally
- 02Download streams using a BV number
- 03Choose where downloaded files are stored
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ 958877748/ skills --skill bilibili-downloaderAfter installing, type/bilibili-downloaderin Claude Code to confirm it loaded.
Bundled filesdownload.cjs
Details
From the project README目录结构
bilibili-downloader/
├── SKILL.md
└── download.cjs
Usage
download.cjs <video_url> <save_directory>
Arguments
video_url: Bilibili video URL or BV number (e.g.,https://www.bilibili.com/video/BV1xxxxxorBV1xxxxx)save_directory: Directory to save downloaded files
Output
Downloads two files:
{BV号}_video.mp4- Video stream{BV号}_audio.mp4- Audio stream
Error Codes
无效的BV号或URL格式- Invalid URL/BV number视频不存在或已被删除- Video not found视频访问受限- Access denied没有可用的视频流- No video streams available下载失败- Download failed (network error)
Comments
Markdown supported