天意cookie

This commit is contained in:
lushunming 2025-03-21 14:41:09 +08:00
parent a66f81807a
commit e3906cc815
4 changed files with 6 additions and 3 deletions

View File

@ -486,7 +486,10 @@ public class TianyiApi {
if (Objects.nonNull(res.get("res_code")) && res.get("res_code").getAsInt() == 0) { if (Objects.nonNull(res.get("res_code")) && res.get("res_code").getAsInt() == 0) {
if (res.get("normal") != null) { if (res.get("normal") != null) {
return res.get("normal").getAsJsonObject().get("url").getAsString(); String normal = res.get("normal").getAsJsonObject().get("url").getAsString();
String downloadUrl = OkHttp.getLocation(normal, headers);
SpiderDebug.log("获取天翼下载地址成功:" + downloadUrl);
return downloadUrl;
} }
} else { } else {
SpiderDebug.log("获取下载地址失败:" + result.getBody()); SpiderDebug.log("获取下载地址失败:" + result.getBody());

Binary file not shown.

View File

@ -1 +1 @@
f18e18cac02689c0b0bb3ba3311d2660 6c1b44bc2a12d09ffd892d1826acda91

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/tianyidev/jar/custom_spider.jar;md5;f18e18cac02689c0b0bb3ba3311d2660", "spider": "https://ghproxy.net/https://raw.githubusercontent.com/lushunming/AndroidCatVodSpider/tianyidev/jar/custom_spider.jar;md5;6c1b44bc2a12d09ffd892d1826acda91",
"lives": [ "lives": [
{ {
"name": "电视直播", "name": "电视直播",