This commit is contained in:
GH Action - Upstream Sync 2023-07-25 12:34:18 +00:00
commit 6e1224fc30
6 changed files with 8 additions and 6 deletions

View File

@ -200,6 +200,9 @@ public class Bili extends Spider {
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 (String key : audios.keySet()) {
if (audio.getId().equals(key)) {

View File

@ -25,9 +25,8 @@ public class Push extends Ali {
@Override
public String detailContent(List<String> ids) throws Exception {
String url = ids.get(0).trim();
if (url.contains("aliyundrive")) return super.detailContent(ids);
return Result.string(vod(url));
if (pattern.matcher(ids.get(0)).find()) return super.detailContent(ids);
return Result.string(vod(ids.get(0)));
}
@Override

Binary file not shown.

View File

@ -1 +1 @@
c87a187b382db0c694f9e2664242a864
88787c99a94e6a4e674060d71e59c46f

View File

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

View File

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