GithubHelp home page GithubHelp logo

disappear9 / misakabiliapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from misaka-l/misakabiliapi

0.0 0.0 1.0 50 KB

一个提供哔哩哔哩视频流解析的 Api 项目

Home Page: https://cdnapi.misakal.xyz/swagger/index.html

License: GNU General Public License v3.0

C# 98.48% Dockerfile 1.52%

misakabiliapi's Introduction

MisakaBiliApi

一个提供哔哩哔哩视频流解析的 Api 项目。(后续可能会有其他功能)

使用指南

Swagger 文档:https://cdnapi.misakal.xyz/swagger/index.html
示例在线部署:https://cdnapi.misakal.xyz/ 小水管服务器,建议自行部署,不要滥用!!!

Docker

sudo docker run -d --name MisakaBiliApi -p 80:80 ghcr.io/disappear9/misakabiliapi:latest

请求视频流链接

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 的视频链接)

示例响应

{
   "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 的视频链接)

misakabiliapi's People

Contributors

disappear9 avatar misaka-l avatar

Forkers

bilibilimrlei

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.