Python 3.8.8
, the code is readable and easy to transplant;Installation:
git clone https://github.com/JimmyLiang-lzm/biliDownloader.git
cd biliDownloader
pip3 install -r requirements.txt
Download the FFMpeg program, 👉click here 👈 and enter the official website to download:
ffmpeg.exe
from the compressed file and paste it into the root directory of the biliDownloader
program.sudo add-apt-repository -y ppa:djcj/hybrid
sudo apt update
sudo apt install -y ffmpeg
Change the initialization parameters, enter the setting.conf
file in the root directory, and modify the XXX
in "sys":"XXX"
to the system platform you are using. Please change to windows
when using Windows platform, and change to ubuntu
when using Ubuntu platform.
Use:
You can directly use the following code to view the video download address, where HTTPAddress
represents the web page address:
python3 bili_Download.py -a HTTPAddress -c
You can directly use the following code to download, OutputPath
represents the output folder:
python3 bili_Download.py -a HTTPAddress -o OutputPath
Installation:
setting.conf
file in the root folder bili_Download
, and modify the XXX
in "sys":"XXX"
to windows
.Use:
In order to facilitate use in Windows, please click on batch script Start.bat
in the unzipped directory. To check the video download address, you can directly use the following code to view, where HTTPAddress
represents the web page address:
bili_Download.exe -a HTTPAddress -c
You can directly use the following code to download, OutputPath
represents the output folder:
bili_Download.exe -a HTTPAddress -o OutputPath
If you DO NOT use batch scripts, you need to add absolute address before bili_Download.exe
.
In order to use this program correctly, the parameters are as follows:
-a
, --address
: Enter the HTTP/HTTPS address of the video page, if the parameter does not contain -ma
, --music-address
, -v
, --version
, -h
, --help
, then this item is required;-ma
, --music-address
: Enter the HTTP/HTTPS address of the music page, if the parameter does not contain -a
, --address
, -v
, --version
, -h
, --help
, then this item is required;-o
, --output
: Download the video to the local output folder address, the default value is the program root directory;-vq
, --video-quality
: Select the video resolution, accept the data type as integer data, you can use -c
or --check
to view, the default value is 0;-ar
, --audio-quality
: Select audio quality, accept data type as integer data, you can use -c
or --check
to view, the default value is 0;-s
, --synthesis
: Whether to perform synthesis after the video is downloaded, only 0
or 1
is supported. Among them, 0
means no synthesis, 1
means synthesis; the default value is 1
; this The option can only be realized after the deployment of FFMpeg!
-c
, --check
: Check whether there are audio streams and video streams available for download on the video page, and display them; when this parameter appears, no video download will be performed;-i
, --interact
: Download the entire interactive video;-v
, --version
: View software version information;-h
, --help
: Display software help information.VIP video download has been updated on October 6, 2021, you can paste your VIP cookie into the XXX of the root directory setting.conf
file "cookie":"XXX"
. You can try to use -c
, --check
to check. How to get cookies please click here🤞
Fill in your known proxy IP address and port number in the form of http://(IP):(Port)
into the XXX of the root directory setting.conf
file "Proxy":"XXX"
, Such as "Proxy":"http://127.0.0.1:1080"
.
This project is protected by the GPL-3.0 license agreement, all programs are only used for learning and communication, please DO NOT use it for any commercial purposes!
💖💖If you find this program useful, please don’t hesitate to leave a Star or fork, thank you very much!💖💖
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。