B站视频下载器

v1.0.2

下载 B 站视频到指定目录。使用 yt-dlp,必须用 -o 参数指定完整路径,否则默认下载到 C 盘。

0· 150·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zitao666/bili-video-downloader.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "B站视频下载器" (zitao666/bili-video-downloader) from ClawHub.
Skill page: https://clawhub.ai/zitao666/bili-video-downloader
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: yt-dlp
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install bili-video-downloader

ClawHub CLI

Package manager switcher

npx clawhub@latest install bili-video-downloader
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the required capability: the skill only needs yt-dlp to download Bilibili videos. The SKILL.md metadata even suggests a pip install for yt-dlp, which is consistent with the purpose.
Instruction Scope
Runtime instructions are limited to creating a directory and running yt-dlp with an -o output path. They do not request reading arbitrary files or extra environment variables. Minor issues: examples mix Windows PowerShell syntax (mkdir -Force | Out-Null) and Unix-style paths (~), which is ambiguous but not a security problem.
Install Mechanism
The registry summary said 'No install spec' but SKILL.md contains a metadata install suggestion for installing yt-dlp via pip. The skill is otherwise instruction-only (no code files), so there is no high-risk download/extract behavior. Verify installation source (pip) if you choose to auto-install.
Credentials
No environment variables, credentials, or config paths are requested. The lack of credential requests is consistent, though the SKILL.md notes some Bilibili videos may require login (the skill does not provide guidance for supplying cookies or auth tokens).
Persistence & Privilege
always is false and the skill is user-invocable. It does not request persistent/system-wide privileges or modify other skill configurations.
Assessment
This skill is mostly a set of shell instructions for calling your local yt-dlp tool. Before installing/using: (1) ensure yt-dlp is installed from a trusted source (pip or your distribution) and is on PATH; (2) test the example commands manually first to confirm the correct syntax for your OS (the README mixes PowerShell and Unix path examples); (3) be explicit with the -o path to avoid unintended download locations and check available disk space; (4) note the skill does not handle Bilibili login/cookies — videos that require authentication may still fail; (5) if you want the agent to auto-install yt-dlp, verify the pip command and package source yourself. Overall the pieces line up, but exercise the usual caution when running commands that download remote content and create files on disk.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📺 Clawdis
Binsyt-dlp
latestvk974q6080mzprq6tcq2pk7zzx583pqpk
150downloads
0stars
3versions
Updated 1mo ago
v1.0.2
MIT-0

B站视频下载器

使用 yt-dlp 下载 Bilibili 视频。

⚠️ 关键规则

必须用 -o 参数指定完整路径,不能省略!

# ✅ 正确:-o 指定目标目录
yt-dlp -o "/path/to/videos/%(title)s.%(ext)s" "<url>"

# ❌ 错误:省略 -o,默认下载到当前工作目录(C盘/系统盘)
yt-dlp "<url>"

使用方式

用户提供:

  1. B 站 URL(视频页或合集链接)
  2. 保存路径(不提供则询问)

执行命令格式:

mkdir -Force "<目标目录>" | Out-Null
yt-dlp -o "<目标目录>/%(title)s.%(ext)s" "<url>"

示例

用户说 "下载到 D:\Videos\bili":

mkdir -Force D:\Videos\bili | Out-Null
yt-dlp -o "D:\Videos\bili\%(title)s.%(ext)s" "<B站视频URL>"

用户说 "下载到 ~/Videos/bili":

mkdir -Force ~/Videos/bili | Out-Null
yt-dlp -o "~/Videos/bili/%(title)s.%(ext)s" "<url>"

合集下载:

yt-dlp -o "<目录>/%(title)s.%(ext)s" "https://space.bilibili.com/xxx/lists/5374469?type=season"

技术细节

  • yt-dlp 默认行为 ≠ 下载到指定目录,必须显式指定 -o 完整路径
  • 合集约 45 个视频,可能有 2-5 个 extractor error(B站接口限制,非路径问题)
  • 文件名使用视频原标题(%(title)s
  • 完成后汇总成功/失败数量

常见问题

Q: 某些视频下载失败? → B站部分视频需要登录/会员,extractor error 是接口限制,非本 skill 问题。

Q: 路径怎么填? → 告诉用户先创建目录,执行时带上完整路径参数。

Comments

Loading comments...