bili support 8k

This commit is contained in:
FongMi 2023-07-07 18:28:23 +08:00
parent fa03c8c4b2
commit 889aaf847b
5 changed files with 4 additions and 4 deletions

View File

@ -145,7 +145,7 @@ public class Bili extends Spider {
vod.setVodContent(detail.getDesc()); vod.setVodContent(detail.getDesc());
vod.setVodRemarks(detail.getDuration() / 60 + "分鐘"); vod.setVodRemarks(detail.getDuration() / 60 + "分鐘");
api = "https://api.bilibili.com/x/player/playurl?avid=" + aid + "&cid=" + detail.getCid() + "&qn=120&fnval=4048&fourk=1"; api = "https://api.bilibili.com/x/player/playurl?avid=" + aid + "&cid=" + detail.getCid() + "&qn=127&fnval=4048&fourk=1";
json = OkHttp.string(api, header); json = OkHttp.string(api, header);
Data play = Resp.objectFrom(json).getData(); Data play = Resp.objectFrom(json).getData();
List<String> playList = new ArrayList<>(); List<String> playList = new ArrayList<>();

Binary file not shown.

View File

@ -1 +1 @@
1a95a254c163853dc114032bdc5423a2 cc4a1d56205fd4d1039b53ba3175b81f

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;1a95a254c163853dc114032bdc5423a2", "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;cc4a1d56205fd4d1039b53ba3175b81f",
"wallpaper": "https://gao.chuqiuyu.tk", "wallpaper": "https://gao.chuqiuyu.tk",
"sites": [ "sites": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;1a95a254c163853dc114032bdc5423a2", "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;cc4a1d56205fd4d1039b53ba3175b81f",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php", "wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [ "sites": [
{ {