diff --git a/app/src/main/java/com/github/catvod/ali/API.java b/app/src/main/java/com/github/catvod/ali/API.java index 773a5ac4..81838fdd 100644 --- a/app/src/main/java/com/github/catvod/ali/API.java +++ b/app/src/main/java/com/github/catvod/ali/API.java @@ -344,11 +344,14 @@ public class API { public String getDownloadUrl(String fileId) { try { + SpiderDebug.log("getDownloadUrl..." + fileId); tempIds.add(0, copy(fileId)); JSONObject body = new JSONObject(); body.put("file_id", tempIds.get(0)); body.put("drive_id", user.getDriveId()); - return new JSONObject(oauth("openFile/getDownloadUrl", body.toString(), true)).getString("url"); + String json = oauth("openFile/getDownloadUrl", body.toString(), true); + SpiderDebug.log(json); + return new JSONObject(json).getString("url"); } catch (Exception e) { Init.execute(this::deleteAll); e.printStackTrace(); @@ -360,6 +363,7 @@ public class API { public String getPreviewUrl(String fileId, String flag) { try { + SpiderDebug.log("getPreviewUrl..." + fileId); tempIds.add(0, copy(fileId)); JSONObject body = new JSONObject(); body.put("file_id", tempIds.get(0)); @@ -367,6 +371,7 @@ public class API { body.put("category", "live_transcoding"); body.put("url_expire_sec", "14400"); String json = oauth("openFile/getVideoPreviewPlayInfo", body.toString(), true); + SpiderDebug.log(json); JSONArray taskList = new JSONObject(json).getJSONObject("video_preview_play_info").getJSONArray("live_transcoding_task_list"); return getPreviewQuality(taskList, flag); } catch (Exception e) { diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index a43ee49f..6014f328 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 e83d6dc9..4cb750ce 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -be7bb5c4900ed56f8cc189aeabf0a989 +b6ec08b3b229db2be16b5975104b7e56 diff --git a/json/adult.json b/json/adult.json index 8c3158c3..4c69a74f 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;be7bb5c4900ed56f8cc189aeabf0a989", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;b6ec08b3b229db2be16b5975104b7e56", "wallpaper": "https://gao.chuqiuyu.tk", "sites": [ { @@ -586,8 +586,7 @@ "api": "csp_Push", "searchable": 1, "filterable": 1, - "changeable": 0, - "ext": "https://agit.ai/Yoursmile7/TVBox/raw/branch/master/token.txt" + "changeable": 0 } ] } \ No newline at end of file diff --git a/json/config.json b/json/config.json index eb23fd38..386a84c2 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;be7bb5c4900ed56f8cc189aeabf0a989", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;b6ec08b3b229db2be16b5975104b7e56", "wallpaper": "http://饭太硬.ga/深色壁纸/api.php", "sites": [ { @@ -85,8 +85,7 @@ "api": "csp_Paper", "searchable": 1, "filterable": 1, - "changeable": 0, - "ext": "影視天下第一" + "changeable": 0 }, { "key": "七夜", @@ -95,8 +94,7 @@ "api": "csp_Dovx", "searchable": 1, "filterable": 0, - "changeable": 0, - "ext": "影視天下第一" + "changeable": 0 }, { "key": "易搜", @@ -105,8 +103,7 @@ "api": "csp_YiSo", "searchable": 1, "filterable": 0, - "changeable": 0, - "ext": "影視天下第一" + "changeable": 0 }, { "key": "盤搜", @@ -115,8 +112,7 @@ "api": "csp_PanSou", "searchable": 1, "filterable": 0, - "changeable": 0, - "ext": "影視天下第一" + "changeable": 0 }, { "key": "UP雲搜", @@ -125,8 +121,7 @@ "api": "csp_UpYun", "searchable": 1, "filterable": 0, - "changeable": 0, - "ext": "影視天下第一" + "changeable": 0 }, { "key": "找資源", @@ -145,8 +140,7 @@ "api": "csp_Push", "searchable": 1, "filterable": 0, - "changeable": 0, - "ext": "影視天下第一" + "changeable": 0 } ] }