diff --git a/app/src/main/java/com/github/catvod/spider/Ali.java b/app/src/main/java/com/github/catvod/spider/Ali.java index 652dd1af..8b9640ba 100644 --- a/app/src/main/java/com/github/catvod/spider/Ali.java +++ b/app/src/main/java/com/github/catvod/spider/Ali.java @@ -177,6 +177,8 @@ public class Ali { body.put("grant_type", "refresh_token"); JSONObject object = new JSONObject(post("https://auth.aliyundrive.com/v2/account/token", body)); accessToken = object.getString("token_type") + " " + object.getString("access_token"); + refreshToken = object.getString("refresh_token"); + Prefers.put("token", refreshToken); } catch (JSONException e) { accessToken = null; e.printStackTrace(); diff --git a/jar/custom_spider.jar b/jar/custom_spider.jar index 4ec1c7eb..878cd690 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 e1a46f10..36e1a637 100644 --- a/jar/custom_spider.jar.md5 +++ b/jar/custom_spider.jar.md5 @@ -1 +1 @@ -cc2b0b7bef842b7a62cc722704abb70f +c9e6da557fc51082b490f840b865b597 diff --git a/json/adult.json b/json/adult.json index 0c03e0e4..fa07cb9e 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;cc2b0b7bef842b7a62cc722704abb70f", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;c9e6da557fc51082b490f840b865b597", "wallpaper": "https://gao.chuqiuyu.tk", "lives": [ { diff --git a/json/config.json b/json/config.json index aa751b8d..29af0aa0 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;cc2b0b7bef842b7a62cc722704abb70f", + "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;c9e6da557fc51082b490f840b865b597", "wallpaper": "http://www.kf666888.cn/api/tvbox/img", "lives": [ {