Fix ali video url push

This commit is contained in:
FongMi 2023-07-25 13:31:04 +08:00
parent 1828895fe2
commit 1885c3b19c
5 changed files with 5 additions and 6 deletions

View File

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

Binary file not shown.

View File

@ -1 +1 @@
c87a187b382db0c694f9e2664242a864 eeda57626bd6a8d9807296aae98e3e92

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;eeda57626bd6a8d9807296aae98e3e92",
"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;c87a187b382db0c694f9e2664242a864", "spider": "https://fongmi.cachefly.net/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;eeda57626bd6a8d9807296aae98e3e92",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php", "wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [ "sites": [
{ {