diff --git a/app/src/main/java/com/github/catvod/spider/AList.java b/app/src/main/java/com/github/catvod/spider/AList.java index 816baf63..3837f243 100644 --- a/app/src/main/java/com/github/catvod/spider/AList.java +++ b/app/src/main/java/com/github/catvod/spider/AList.java @@ -105,7 +105,8 @@ public class AList extends Spider { } @Override - public String categoryContent(String tid, String pg, boolean filter, HashMap extend) { + public String categoryContent(String tid, String pg, boolean filter, HashMap extend) throws Exception { + fetchRule(); String type = extend.containsKey("type") ? extend.get("type") : "name"; String order = extend.containsKey("order") ? extend.get("order") : "asc"; List folders = new ArrayList<>(); @@ -123,7 +124,8 @@ public class AList extends Spider { } @Override - public String detailContent(List ids) { + public String detailContent(List ids) throws Exception { + fetchRule(); String id = ids.get(0); Item item = getDetail(id); String path = id.substring(0, id.lastIndexOf("/")); @@ -140,6 +142,7 @@ public class AList extends Spider { @Override public String searchContent(String keyword, boolean quick) throws Exception { + fetchRule(); List list = new ArrayList<>(); JSONObject params = new JSONObject(); params.put("path", "/"); diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 378d4bb3..6822061e 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 e7ff2fe5..98f3636a 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -999ead597b4ef0e43de0321fd93ff0d4 +3161b616a35606b97460c59b19ed3b40 diff --git a/json/adult.json b/json/adult.json index 5ad1aa59..625f57be 100644 --- a/json/adult.json +++ b/json/adult.json @@ -1,5 +1,5 @@ { - "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;999ead597b4ef0e43de0321fd93ff0d4", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;3161b616a35606b97460c59b19ed3b40", "wallpaper": "https://gao.chuqiuyu.tk", "lives": [ { diff --git a/json/config.json b/json/config.json index ac88a872..fdb0fb58 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;999ead597b4ef0e43de0321fd93ff0d4", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;3161b616a35606b97460c59b19ed3b40", "wallpaper": "http://www.kf666888.cn/api/tvbox/img", "lives": [ {