Merge branch 'main' of https://github.com/FongMi/CatVodSpider
This commit is contained in:
commit
6e1224fc30
|
|
@ -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)) {
|
||||
|
|
|
|||
|
|
@ -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.
|
|
@ -1 +1 @@
|
|||
c87a187b382db0c694f9e2664242a864
|
||||
88787c99a94e6a4e674060d71e59c46f
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue