Update ali

This commit is contained in:
FongMi 2022-11-28 22:13:32 +08:00
parent 5d1dd76f06
commit 3f39fe79d7
5 changed files with 5 additions and 3 deletions

View File

@ -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();

Binary file not shown.

View File

@ -1 +1 @@
cc2b0b7bef842b7a62cc722704abb70f
c9e6da557fc51082b490f840b865b597

View File

@ -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": [
{

View File

@ -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": [
{