bilibili视频直链获取api

halo博客文章里添加bilibili视频需要获取视频直链

给大家分享一个视频直链获取的api

先看看效果

https://api.aag.moe/api/bzspjx?url=

把视频网址放在api地址后,复制到地址栏访问

网页会出现如下数据

{
    "code": "0",
    "message": "成功",
    "title": "【4K杜比视界·全景声】【汪小敏】笑看风云 音乐现场!!!",
    "videocoverurl": "http://i0.hdslb.com/bfs/archive/52f506f761c2c4f660016f90532673ba2ab7db79.jpg",
    "stat_view": "1888774",
    "stat_danmu": "1536",
    "stat_dianzan": "37397",
    "stat_toubi": "10164",
    "stat_shoucang": "48510",
    "stat_zhuanfa": "13523",
    "total": "2",
    "quality": "1920×1080",
    "videourl": "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/38/25/842352538/842352538_da2-1-30080.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1713849305&gen=playurlv2&os=akam&oi=148479640&trid=f71bee652b4643a4a2b7cd719be2bc99T&mid=2102334115&platform=html5&upsig=e6e93c8d3cbfdad410e592177e102cf5&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1713842105~hmac=66daed4a3d2e89ac6f0d694e5e7b592a8a42caec58c62ceab5918204319879eb&bvc=vod&nettype=0&bw=329064&orderid=0,1&buvid=&build=0&mobi_app=&f=T_0_0&logo=80000000",
    "video_encoding": "AVC",
    "audiourl": "https://upos-hz-mirrorakam.akamaized.net/upgcxcode/38/25/842352538/842352538_da2-1-30232.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfq9rVEuxTEnE8L5F6VnEsSTx0vkX8fqJeYTj_lta53NCM=&uipk=5&nbs=1&deadline=1713849305&gen=playurlv2&os=akam&oi=148479640&trid=f71bee652b4643a4a2b7cd719be2bc99T&mid=2102334115&platform=html5&upsig=a3d970a1f69ced06a70a1e2e22738b2e&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&hdnts=exp=1713842105~hmac=4551fb1dcc6f49ba4a2f9954bdab925e75ed9c60c7ca08151efd1509a31ccb26&bvc=vod&nettype=0&bw=12989&orderid=0,1&buvid=&build=0&mobi_app=&f=T_0_0&logo=80000000"
}

其中“videourl”就是视频的直链了,

在halo博客文章里添加视频,输入此链接即可。

消息盒子

# 暂无消息 #

只显示最新10条未读和已读信息