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 c77247dc..83b6dabd 100644 --- a/app/src/main/java/com/github/catvod/spider/AList.java +++ b/app/src/main/java/com/github/catvod/spider/AList.java @@ -17,7 +17,6 @@ import com.github.catvod.utils.Trans; import org.json.JSONObject; -import java.net.URLEncoder; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; @@ -134,7 +133,7 @@ public class AList extends Spider { String path = id.contains("/") ? id.substring(id.indexOf("/") + 1) : ""; Drive drive = getDrive(key); JSONObject params = new JSONObject(); - params.put("path", URLEncoder.encode(path)); + params.put("path", path); params.put("password", drive.getPassword()); String response = OkHttpUtil.postJson(drive.getApi(), params.toString()); return Item.objectFrom(getDetailJson(drive.isNew(), response)); @@ -149,7 +148,7 @@ public class AList extends Spider { String path = id.contains("/") ? id.substring(id.indexOf("/") + 1) : ""; Drive drive = getDrive(key); JSONObject params = new JSONObject(); - params.put("path", URLEncoder.encode(path)); + params.put("path", path); params.put("password", drive.getPassword()); String response = OkHttpUtil.postJson(drive.listApi(), params.toString()); List items = Item.arrayFrom(getListJson(drive.isNew(), response)); diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 386c1306..a4203ad5 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 8dc48b13..dc246986 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -9fbfe50fb567b4762fc34320a5bd35f0 +94c24a6fc84d232c2b32894d5e0d042c diff --git a/json/adult.json b/json/adult.json index 0f52dd37..48340c4c 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;9fbfe50fb567b4762fc34320a5bd35f0", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;94c24a6fc84d232c2b32894d5e0d042c", "wallpaper": "https://gao.chuqiuyu.tk", "lives": [ { diff --git a/json/config.json b/json/config.json index 519db8d2..0f8512b0 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;9fbfe50fb567b4762fc34320a5bd35f0", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;94c24a6fc84d232c2b32894d5e0d042c", "wallpaper": "http://www.kf666888.cn/api/tvbox/img", "lives": [ {