diff --git a/app/src/main/java/com/github/catvod/spider/Push.java b/app/src/main/java/com/github/catvod/spider/Push.java index ffdf5e3e..09d40e3f 100644 --- a/app/src/main/java/com/github/catvod/spider/Push.java +++ b/app/src/main/java/com/github/catvod/spider/Push.java @@ -25,9 +25,8 @@ public class Push extends Ali { @Override public String detailContent(List 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 diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index db7d305d..ff6b0bcc 100644 Binary files a/jar/custom_spider.jar and b/jar/custom_spider.jar differ diff --git a/jar/custom_spider.jar.md5 b/jar/custom_spider.jar.md5 index cf202620..2f898cf1 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -c87a187b382db0c694f9e2664242a864 +eeda57626bd6a8d9807296aae98e3e92 diff --git a/json/adult.json b/json/adult.json index 90674466..650fdefe 100644 --- a/json/adult.json +++ b/json/adult.json @@ -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", "sites": [ { diff --git a/json/config.json b/json/config.json index f6fa431d..1c4d04ad 100644 --- a/json/config.json +++ b/json/config.json @@ -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", "sites": [ {