bili support 8k
This commit is contained in:
parent
d8a2144468
commit
206b5189b5
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
1a95a254c163853dc114032bdc5423a2
|
cc4a1d56205fd4d1039b53ba3175b81f
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue