Fix bili match qn expection

This commit is contained in:
FongMi 2023-07-25 18:02:30 +08:00
parent 1885c3b19c
commit e33a931405
5 changed files with 6 additions and 3 deletions

View File

@ -200,6 +200,9 @@ public class Bili extends Spider {
videoList.append(getMedia(video)); videoList.append(getMedia(video));
} }
} }
if (videoList.length() == 0 && dash.getVideo().size() > 0) {
videoList.append(getMedia(dash.getVideo().get(0)));
}
for (Media audio : dash.getAudio()) { for (Media audio : dash.getAudio()) {
for (String key : audios.keySet()) { for (String key : audios.keySet()) {
if (audio.getId().equals(key)) { if (audio.getId().equals(key)) {

Binary file not shown.

View File

@ -1 +1 @@
eeda57626bd6a8d9807296aae98e3e92 88787c99a94e6a4e674060d71e59c46f

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;eeda57626bd6a8d9807296aae98e3e92", "spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;88787c99a94e6a4e674060d71e59c46f",
"wallpaper": "https://gao.chuqiuyu.tk", "wallpaper": "https://gao.chuqiuyu.tk",
"sites": [ "sites": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;eeda57626bd6a8d9807296aae98e3e92", "spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;88787c99a94e6a4e674060d71e59c46f",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php", "wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [ "sites": [
{ {