Add format for bili

This commit is contained in:
FongMi 2023-07-10 23:24:04 +08:00
parent 09eae1eb15
commit 5e9551e818
5 changed files with 4 additions and 4 deletions

View File

@ -210,7 +210,7 @@ public class Bili extends Spider {
String mpd = getMpd(dash, videoList.toString(), audioList.toString()); String mpd = getMpd(dash, videoList.toString(), audioList.toString());
String url = "data:application/dash+xml;base64," + Base64.encodeToString(mpd.getBytes(), 0); String url = "data:application/dash+xml;base64," + Base64.encodeToString(mpd.getBytes(), 0);
return Result.get().url(url).header(getMember()).string(); return Result.get().url(url).dash().header(getMember()).string();
} }
private String getMedia(Media media) { private String getMedia(Media media) {

Binary file not shown.

View File

@ -1 +1 @@
d4dab21a9595058b00f4ad2ce977baf4 bdaba6bfae7ce2c142343af8e9731c4d

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;d4dab21a9595058b00f4ad2ce977baf4", "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;bdaba6bfae7ce2c142343af8e9731c4d",
"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;d4dab21a9595058b00f4ad2ce977baf4", "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;bdaba6bfae7ce2c142343af8e9731c4d",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php", "wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [ "sites": [
{ {