天意cookie

This commit is contained in:
lushunming 2025-03-19 17:02:03 +08:00
parent 6de0859e7f
commit 8fd0f3aff7
4 changed files with 4 additions and 2 deletions

View File

@ -182,6 +182,8 @@ public class TianYiHandler {
headers.put("Reqid", reqId); headers.put("Reqid", reqId);
headers.put("cookie", secondCookie); headers.put("cookie", secondCookie);
OkResult okResult = OkHttp.post("https://open.e.189.cn/api/logbox/oauth2/qrcodeLoginState.do", params, headers); OkResult okResult = OkHttp.post("https://open.e.189.cn/api/logbox/oauth2/qrcodeLoginState.do", params, headers);
SpiderDebug.log("qrcodeLoginState result------" + okResult.getBody());
JsonObject obj = Json.safeObject(okResult.getBody()).getAsJsonObject(); JsonObject obj = Json.safeObject(okResult.getBody()).getAsJsonObject();
if (okResult.getCode() == 200 && Objects.nonNull(obj.get("status")) && obj.get("status").getAsInt() == 0) { if (okResult.getCode() == 200 && Objects.nonNull(obj.get("status")) && obj.get("status").getAsInt() == 0) {
SpiderDebug.log("扫码成功------" + obj.get("redirectUrl").getAsString()); SpiderDebug.log("扫码成功------" + obj.get("redirectUrl").getAsString());

Binary file not shown.

View File

@ -1 +1 @@
874733c7fb3892ec2108c35fba50c198 47a90e0f69913b779d628d308a0e99d3

View File

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