biliget

Crates.iobiliget
lib.rsbiliget
version0.5.1
created_at2025-12-14 06:59:15.475937+00
updated_at2026-01-25 05:02:54.715039+00
description简单的B站视频下载工具 可以免登录下载B站高清视频
homepagehttps://github.com/lfcypo/biliget
repositoryhttps://github.com/lfcypo/biliget
max_upload_size
id1983939
size66,521
Zicheng Huang (lfcypo)

documentation

README

BiliGet

简单的 B 站视频下载工具 可以免登录下载 B 站高清视频

灵感来自share121/unidown.

使用

使用前

在使用前,您需要安装FFmpeg命令行工具,并将其二进制程序添加至环境变量中。

对于 Windows 系统,您可以使用Scoop

scoop install ffmpeg

对于 macOS 系统,您可以使用HomeBrew

brew install ffmpeg

在 Linux 系统上,您也可以使用您喜爱的方式进行安装。

下载

默认模式:自动合并音视频为一个.mp4视频文件

./biliget [url]

仅下载音频:保存为.wav音频文件

./biliget [url] -a

编译与构建

GitHub Action 会自动编译构建并发布至Release页面

如您需要自行编译,请参考以下指南:

请确保您安装并配置了Rust语言开发工具链。

git clone https://github.com/lfcypo/biliget.git
cd biliget
cargo update
cargo build --release

然后 您可以在target/release/目录下找到您编译的可执行文件 biliget

待实现的功能

  • :white_check_mark: GitHub Action 自动构建与发布
  • 多线程下载
  • 多视频平台下载
  • 字幕、弹幕下载

常见问题

命令执行出错

zsh: parse error near `&'

请把[url]的部分使用英文双引号包裹

找不到ffmpeg命令

请参照使用前准备正确安装ffmpeg

致谢

share121是一个优秀的 Rust 开发者,让我领略到了 Rust 语言的魅力,并针对本项目提供了诸多建议。

Commit count: 32

cargo fmt