Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Misaka-L/MisakaBiliApi
一个提供哔哩哔哩视频流解析的 Api 项目
https://github.com/Misaka-L/MisakaBiliApi
Last synced: about 2 months ago
JSON representation
一个提供哔哩哔哩视频流解析的 Api 项目
- Host: GitHub
- URL: https://github.com/Misaka-L/MisakaBiliApi
- Owner: Misaka-L
- License: gpl-3.0
- Created: 2023-07-16T09:12:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-04T04:57:57.000Z (4 months ago)
- Last Synced: 2024-08-05T04:30:34.201Z (4 months ago)
- Language: C#
- Homepage: https://cdnapi.misakal.xyz/swagger/index.html
- Size: 99.6 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bilibili-extra - MisakaBiliApi - 一个提供哔哩哔哩视频流解析的 Api 项目.![C#](svg/csharp.svg?raw=true) (开发 / 直播脚本)
README
# MisakaBiliApi
一个提供哔哩哔哩视频流解析的 Api 项目。(后续可能会有其他功能)
## 使用指南
> Swagger 文档:[https://cdnapi.misakal.xyz/swagger/index.html](https://cdnapi.misakal.xyz/swagger/index.html)
> 示例在线部署:`https://cdnapi.misakal.xyz/` **小水管服务器,建议自行部署,不要滥用!!!**### 请求视频流链接
#### BV 号
```
GET /api/bilibili/video/url?bvid=BV1LP411v7Bv
GET /api/bilibili/video/url?bvid=BV1mx411M793&page=2 (获取 P3 的视频链接)
```#### AV 号
```
GET /api/bilibili/video/url?avid=315594987
GET /api/bilibili/video/url?bvid=15627712&page=2 (获取 P3 的视频链接)
```#### 示例响应
```json
{
"data": {
"url": "https://*.bilivideo.com/*",
"format": "mp4720",
"timelength": 222000,
"quality": 64
},
"message": "",
"code": 200
}
```
### 重定向到视频流反向代理链接
> 将通过反向代理避开反盗链,可用于嵌入式播放器(如 html video 元素)或游戏内播放器(如 VRChat)
##### BV 号
```
GET /api/bilibili/video/url/redirect?bvid=BV1LP411v7Bv
GET /api/bilibili/video/url/redirect?bvid=BV1mx411M793&page=2 (获取 P3 的视频链接)
```
#### AV 号
```
GET /api/bilibili/video/url/redirect?avid=315594987
GET /api/bilibili/video/url/redirect?avid=15627712&page=2 (获取 P3 的视频链接)
```