English/English
Bilibili video and barrage downloader developed based on Node.js and Electron.
Features currently implemented:
cid
and support conversion to download format ( .xml
or .ass
).mp4
and .m4a
respectively), support resumable downloadCurrent limitations:
ffmpeg
You need to install Git and Node.js (and npm) to run this program.
An important dependency of this program is Electron. If your network environment is restricted, please set the following environment variables first, and then execute the following commands to install it through the mirror:
export ELECTRON_MIRROR= " https://npmmirror.com/mirrors/electron/ " # 一般的 *NIX 命令行
set ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ # 使用 Windows CMD 命令行
$env :ELECTRON_MIRROR= " https://npmmirror.com/mirrors/electron/ " # Windows PowerShell
Enter at the command line:
# 克隆这个仓库
git clone https://github.com/stevenjoezhang/bilibili-downloader.git
# 进入目录
cd bilibili-downloader
# 安装依赖
npm install
# 启动!
npm start
If everything goes well, a new window named "Mimi Downloader" will open. Enter the video link (for example https://www.bilibili.com/video/BV1z4411p7Lq) and follow the prompts to download the video.
Once the download is complete, you can use ffmpeg to merge the video and audio into a single file:
ffmpeg -i input_video.mp4 -i input_audio.m4a -c:v copy -c:a aac output_file.mp4
See https://trac.ffmpeg.org/wiki/Concatenate
Bili Download Ji and its cross-platform version are also good choices, allowing you to download high-definition videos after logging in by scanning the QR code.
If you need more powerful command line tools, the following repositories may be helpful. If you need to download high-definition videos, you may need to set cookies manually.
There are some other libraries and browser plugins for reference.
GNU General Public License v3
http://www.gnu.org/licenses/gpl-3.0.html
This software is distributed under the GPL-3.0 license.
In particular, please be aware that
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Translated to human words:
In case your use of the software forms the basis of copyright infringement, or you use the software for any other illegal purposes, the authors cannot take any responsibility for you.
We only ship the code here, and how you are going to use it is left to your own discretion.