天意cookie
This commit is contained in:
parent
6de0859e7f
commit
8fd0f3aff7
|
|
@ -182,6 +182,8 @@ public class TianYiHandler {
|
|||
headers.put("Reqid", reqId);
|
||||
headers.put("cookie", secondCookie);
|
||||
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();
|
||||
if (okResult.getCode() == 200 && Objects.nonNull(obj.get("status")) && obj.get("status").getAsInt() == 0) {
|
||||
SpiderDebug.log("扫码成功------" + obj.get("redirectUrl").getAsString());
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
874733c7fb3892ec2108c35fba50c198
|
||||
47a90e0f69913b779d628d308a0e99d3
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
{
|
||||
"name": "电视直播",
|
||||
|
|
|
|||
Loading…
Reference in New Issue