Help download lot vedio from bilibili
Project description
bilibili-download
介绍
本工具用于批量下载 B 站指定用户的专辑视频。
具体下载单个视频使用
you-get
工具,安装时会自动检测安装,如果出现问题也可以手动自行安装。
声明
本工具禁止用于商业用途。
安装
pip install bilibili-download-icexmoon
更新
pip install bilibili-download-icexmoon --upgrade
使用说明
需要定义一个下载用描述文件download.json
。
文件格式为 json,格式如下:
{
"homeDir": "D:/workspace/bilibili/tests/download",
"users": [
{
"id": "581567817",
"albums": [
{
"id": "1036613",
"redoTimes": 5
},
{
"id": "764241",
"redoTimes": 5
}
]
}
],
"apiRetryMax": 50
}
其中元素的含义为:
- homeDir,下载视频保存的根目录,下载好的视频会按照专辑 id 作为子目录进行保存,默认为当前目录。
- users,待下载的用户信息。
- users.id,用户id
- users.albums,用户专辑信息
- albums.id,专辑id
- albums.redoTimes,专辑下载额外重试次数(接口有调用限制,单次下载部分视频会缺失),默认10
- apiRetryMax,接口调用重试最大次数,默认50
定义好后在 json 文件所在的目录执行:
bb-download
即可开始下载。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bilibili-download-icexmoon-0.0.5.tar.gz
.
File metadata
- Download URL: bilibili-download-icexmoon-0.0.5.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2579a3a3805eb0fa385abf07c79e67029c1afa0cf6d8f3610b9ef84706c545 |
|
MD5 | 5fc3a49605301514a97721cfaae8f4ae |
|
BLAKE2b-256 | 07d14fd25880a07d48bc37b24d0101436c7b1452d896d8a483457eb404681bbc |
File details
Details for the file bilibili_download_icexmoon-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: bilibili_download_icexmoon-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf6768b21fbc8867def3e9447ca33a64195a18e23bbd3119e6c66e2991bb3e6 |
|
MD5 | 64e4df69735f5515a7b74d874fa9dcbb |
|
BLAKE2b-256 | 953b99b9e6464a9af0a569ebd341a1952eb5a317e88a2b801bb225524e09a643 |