# B站批量格式化下载工具
------
## 简介
这是一个用于流程化下载bilibili视频的音频信息的工具,本工具的整体流程为:
1. **输入所需关键词 -> 相关up主uid**
2. **选择一个up主uid输入 -> up主页所有视频的bv号**
3. **bv号 -> 视频链接信息**
4. **视频链接 -> 音频信息**
所有中间流程的信息都会保存至文件中,并且单个功能也可单独运行。
## 主要文件结构及介绍
```markdown
├── AudioDownloader
│ ├── data
│ │ ├── uids.txt
│ │ └──all_contents.csv
│ ├── __init__.py
│ ├── audio_downloader.py
│ ├── bvid_search.py
│ ├── README.MD
│ ├── setup.py
│ └── up_uid_search.py
```
src中包含主要功能
data中包含信息文件
若选择结构化,data中会以`data/up主id/各类信息`的结构保存,选择否则直接保存至data文件夹下,且所有信息将保存在data下的四个文件中。
可以选择使用工具爬取相关文件,也可以自己填入以获取信息。
## 业务流程图
![bilibilidown.png](bilibilidown.png)
Raw data
{
"_id": null,
"home_page": "https://github.com/legal-intelligence/legal-intelligence/tree/Legal_Video/AudioDownloader",
"name": "AudioDownloader",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, audio downloader, Bilibili",
"author": "YoMi__token__.21",
"author_email": "wanglong67890@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/2c/2a/6a164cc53425b3d949f49f7b72a209164be85a5602983aa48a86aa399d59/audiodownloader-1.0.tar.gz",
"platform": null,
"description": "# B\u7ad9\u6279\u91cf\u683c\u5f0f\u5316\u4e0b\u8f7d\u5de5\u5177\r\n\r\n------\r\n\r\n## \u7b80\u4ecb\r\n\r\n\u8fd9\u662f\u4e00\u4e2a\u7528\u4e8e\u6d41\u7a0b\u5316\u4e0b\u8f7dbilibili\u89c6\u9891\u7684\u97f3\u9891\u4fe1\u606f\u7684\u5de5\u5177\uff0c\u672c\u5de5\u5177\u7684\u6574\u4f53\u6d41\u7a0b\u4e3a\uff1a\r\n\r\n1. **\u8f93\u5165\u6240\u9700\u5173\u952e\u8bcd -> \u76f8\u5173up\u4e3buid** \r\n2. **\u9009\u62e9\u4e00\u4e2aup\u4e3buid\u8f93\u5165 -> up\u4e3b\u9875\u6240\u6709\u89c6\u9891\u7684bv\u53f7**\r\n3. **bv\u53f7 -> \u89c6\u9891\u94fe\u63a5\u4fe1\u606f** \r\n4. **\u89c6\u9891\u94fe\u63a5 -> \u97f3\u9891\u4fe1\u606f** \r\n\r\n\u6240\u6709\u4e2d\u95f4\u6d41\u7a0b\u7684\u4fe1\u606f\u90fd\u4f1a\u4fdd\u5b58\u81f3\u6587\u4ef6\u4e2d\uff0c\u5e76\u4e14\u5355\u4e2a\u529f\u80fd\u4e5f\u53ef\u5355\u72ec\u8fd0\u884c\u3002\r\n\r\n## \u4e3b\u8981\u6587\u4ef6\u7ed3\u6784\u53ca\u4ecb\u7ecd\r\n```markdown\r\n\u251c\u2500\u2500 AudioDownloader\r\n\u2502 \u251c\u2500\u2500 data\r\n\u2502 \u2502 \u251c\u2500\u2500 uids.txt\r\n\u2502 \u2502 \u2514\u2500\u2500all_contents.csv\r\n\u2502 \u251c\u2500\u2500 __init__.py\r\n\u2502 \u251c\u2500\u2500 audio_downloader.py\r\n\u2502 \u251c\u2500\u2500 bvid_search.py\r\n\u2502 \u251c\u2500\u2500 README.MD\r\n\u2502 \u251c\u2500\u2500 setup.py\r\n\u2502 \u2514\u2500\u2500 up_uid_search.py\r\n```\r\nsrc\u4e2d\u5305\u542b\u4e3b\u8981\u529f\u80fd\r\n\r\ndata\u4e2d\u5305\u542b\u4fe1\u606f\u6587\u4ef6\r\n\r\n\u82e5\u9009\u62e9\u7ed3\u6784\u5316\uff0cdata\u4e2d\u4f1a\u4ee5`data/up\u4e3bid/\u5404\u7c7b\u4fe1\u606f`\u7684\u7ed3\u6784\u4fdd\u5b58\uff0c\u9009\u62e9\u5426\u5219\u76f4\u63a5\u4fdd\u5b58\u81f3data\u6587\u4ef6\u5939\u4e0b\uff0c\u4e14\u6240\u6709\u4fe1\u606f\u5c06\u4fdd\u5b58\u5728data\u4e0b\u7684\u56db\u4e2a\u6587\u4ef6\u4e2d\u3002\r\n\r\n\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u5de5\u5177\u722c\u53d6\u76f8\u5173\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u81ea\u5df1\u586b\u5165\u4ee5\u83b7\u53d6\u4fe1\u606f\u3002\r\n\r\n## \u4e1a\u52a1\u6d41\u7a0b\u56fe\r\n![bilibilidown.png](bilibilidown.png)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A tool for downloading audio files from Bilibili videos",
"version": "1.0",
"project_urls": {
"Homepage": "https://github.com/legal-intelligence/legal-intelligence/tree/Legal_Video/AudioDownloader"
},
"split_keywords": [
"python",
" audio downloader",
" bilibili"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0da9d55cec1baf69016dee45115cdb94da2903d8e2ccbf6060d207112e7472a7",
"md5": "6edbb57f89704bc63c1765e16d5592f8",
"sha256": "327d42c8308d4ee459df38c3e5cf771e82e58ac7c7d319d6d1f8dbef182a21b9"
},
"downloads": -1,
"filename": "AudioDownloader-1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6edbb57f89704bc63c1765e16d5592f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2276,
"upload_time": "2024-05-16T10:46:49",
"upload_time_iso_8601": "2024-05-16T10:46:49.800443Z",
"url": "https://files.pythonhosted.org/packages/0d/a9/d55cec1baf69016dee45115cdb94da2903d8e2ccbf6060d207112e7472a7/AudioDownloader-1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c2a6a164cc53425b3d949f49f7b72a209164be85a5602983aa48a86aa399d59",
"md5": "90f21663f55680a284759b51bcd971f0",
"sha256": "8bb5a5f4c92c16bbfc15ffbf049c14f834396bc8c64e6b57e20deb5560af7627"
},
"downloads": -1,
"filename": "audiodownloader-1.0.tar.gz",
"has_sig": false,
"md5_digest": "90f21663f55680a284759b51bcd971f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2305,
"upload_time": "2024-05-16T10:46:51",
"upload_time_iso_8601": "2024-05-16T10:46:51.875975Z",
"url": "https://files.pythonhosted.org/packages/2c/2a/6a164cc53425b3d949f49f7b72a209164be85a5602983aa48a86aa399d59/audiodownloader-1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-16 10:46:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "legal-intelligence",
"github_project": "legal-intelligence",
"github_not_found": true,
"lcname": "audiodownloader"
}