diff --git a/app/src/main/java/com/github/catvod/spider/Market.java b/app/src/main/java/com/github/catvod/spider/Market.java index ca98bd9a..be60929b 100644 --- a/app/src/main/java/com/github/catvod/spider/Market.java +++ b/app/src/main/java/com/github/catvod/spider/Market.java @@ -85,6 +85,7 @@ public class Market extends Spider { Response response = OkHttp.newCall(url); File file = new File(Path.download(), Uri.parse(url).getLastPathSegment()); download(file, response.body().byteStream(), Double.parseDouble(response.header("Content-Length", "1"))); + if (file.getName().endsWith(".zip")) FileUtil.unzip(file, Path.download()); if (file.getName().endsWith(".apk")) FileUtil.openFile(Path.chmod(file)); else Utils.notify("下載完成"); dismiss(); diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 1351e027..57fe09ac 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 f6e4afec..bf2fc449 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -b2c6912d5489526425cc71c596f4606e +7ac31958d0f3fe1961b8f078afea12ed diff --git a/json/adult.json b/json/adult.json index 061a163a..959aab01 100644 --- a/json/adult.json +++ b/json/adult.json @@ -1,5 +1,5 @@ { - "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;b2c6912d5489526425cc71c596f4606e", + "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;7ac31958d0f3fe1961b8f078afea12ed", "wallpaper": "https://gao.chuqiuyu.tk", "sites": [ { diff --git a/json/config.json b/json/config.json index 8148247a..1177cc0f 100644 --- a/json/config.json +++ b/json/config.json @@ -1,5 +1,5 @@ { - "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;b2c6912d5489526425cc71c596f4606e", + "spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;7ac31958d0f3fe1961b8f078afea12ed", "wallpaper": "http://饭太硬.top/深色壁纸/api.php", "sites": [ { diff --git a/json/market.json b/json/market.json index 211954c6..430acaa6 100644 --- a/json/market.json +++ b/json/market.json @@ -203,5 +203,20 @@ "icon": "https://i.imgs.ovh/2023/10/17/r8nk2.png" } ] + }, + { + "name": "本地包", + "list": [ + { + "name": "watson", + "url": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/zip/js-1019.zip", + "icon": "https://i.imgs.ovh/2023/10/20/2I7XH.jpeg" + }, + { + "name": "香雅情", + "url": "https://gh-proxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/zip/XYQTVBox_本地包.zip", + "icon": "https://i.imgs.ovh/2023/10/20/2IO0D.jpeg" + } + ] } ] \ No newline at end of file