mcpField
B
bilibili-downloader

bilibili-downloader

github.com/958877748Creative & media0563 installsUpdated 12w ago
Repository

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

  1. 01Accept a video URL or BV number
  2. 02Save video and audio as separate MP4 files
  3. 03Specify an output directory
  4. 04Report invalid URLs and access errors

Use cases

  1. 01Save a Bilibili video locally
  2. 02Download streams using a BV number
  3. 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-downloader

After 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/BV1xxxxx or BV1xxxxx)
  • 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