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 83b6dabd..735cdfdd 100644 --- a/app/src/main/java/com/github/catvod/spider/AList.java +++ b/app/src/main/java/com/github/catvod/spider/AList.java @@ -130,7 +130,7 @@ public class AList extends Spider { private Item getDetail(String id) { try { String key = id.contains("/") ? id.substring(0, id.indexOf("/")) : id; - String path = id.contains("/") ? id.substring(id.indexOf("/") + 1) : ""; + String path = id.contains("/") ? id.substring(id.indexOf("/")) : ""; Drive drive = getDrive(key); JSONObject params = new JSONObject(); params.put("path", path); @@ -145,7 +145,7 @@ public class AList extends Spider { private List getList(String id, boolean filter) { try { String key = id.contains("/") ? id.substring(0, id.indexOf("/")) : id; - String path = id.contains("/") ? id.substring(id.indexOf("/") + 1) : ""; + String path = id.contains("/") ? id.substring(id.indexOf("/")) : ""; Drive drive = getDrive(key); JSONObject params = new JSONObject(); params.put("path", path); diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index a4203ad5..00ca33cc 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 dc246986..515d5391 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -94c24a6fc84d232c2b32894d5e0d042c +a6b119b4d3bbb3efdf4c373e76305239 diff --git a/json/adult.json b/json/adult.json index 48340c4c..3300bf49 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;94c24a6fc84d232c2b32894d5e0d042c", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a6b119b4d3bbb3efdf4c373e76305239", "wallpaper": "https://gao.chuqiuyu.tk", "lives": [ { diff --git a/json/config.json b/json/config.json index 0f8512b0..dc6112ed 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;94c24a6fc84d232c2b32894d5e0d042c", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a6b119b4d3bbb3efdf4c373e76305239", "wallpaper": "http://www.kf666888.cn/api/tvbox/img", "lives": [ {