bili support 8k

This commit is contained in:
FongMi 2023-07-07 18:28:23 +08:00
parent d8a2144468
commit 206b5189b5
3 changed files with 2 additions and 2 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