Update ali error msg

This commit is contained in:
FongMi 2022-11-04 14:15:20 +08:00
parent 0935fc85c1
commit fbe97b75b9
5 changed files with 6 additions and 4 deletions

View File

@ -120,6 +120,7 @@ public class Ali {
vod.setVodContent(url); vod.setVodContent(url);
vod.setVodPic(object.getString("avatar")); vod.setVodPic(object.getString("avatar"));
vod.setVodName(object.getString("share_name")); vod.setVodName(object.getString("share_name"));
if (sourceUrls.isEmpty()) Init.show("來晚啦,該分享已失效。");
vod.setVodPlayUrl(TextUtils.join("$$$", sourceUrls)); vod.setVodPlayUrl(TextUtils.join("$$$", sourceUrls));
vod.setVodPlayFrom("原畫$$$普畫"); vod.setVodPlayFrom("原畫$$$普畫");
vod.setTypeName("阿里雲盤"); vod.setTypeName("阿里雲盤");
@ -216,6 +217,7 @@ public class Ali {
String json = post("v2/share_link/get_share_token", body); String json = post("v2/share_link/get_share_token", body);
return new JSONObject(json).getString("share_token"); return new JSONObject(json).getString("share_token");
} catch (JSONException e) { } catch (JSONException e) {
Init.show("來晚啦,該分享已失效。");
e.printStackTrace(); e.printStackTrace();
return ""; return "";
} }

Binary file not shown.

View File

@ -1 +1 @@
460ee32a20c159a8c25a0755d3a1fc19 3324dc756e8db4f976917861d81e999e

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;460ee32a20c159a8c25a0755d3a1fc19", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;3324dc756e8db4f976917861d81e999e",
"wallpaper": "https://gao.chuqiuyu.tk", "wallpaper": "https://gao.chuqiuyu.tk",
"lives": [ "lives": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;460ee32a20c159a8c25a0755d3a1fc19", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;3324dc756e8db4f976917861d81e999e",
"wallpaper": "http://www.kf666888.cn/api/tvbox/img", "wallpaper": "http://www.kf666888.cn/api/tvbox/img",
"lives": [ "lives": [
{ {
@ -141,7 +141,7 @@
"api": "csp_Push", "api": "csp_Push",
"searchable": 1, "searchable": 1,
"filterable": 0, "filterable": 0,
"ext": "123" "ext": "339541c49aab4f6c878119930894f7ab"
} }
] ]
} }