天意accessToken
This commit is contained in:
parent
dfee45b866
commit
3fd5670471
|
|
@ -10,6 +10,7 @@ import com.google.gson.JsonObject;
|
|||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
import static com.github.catvod.api.TianyiApi.URL_START;
|
||||
|
||||
|
|
@ -29,12 +30,15 @@ public class Cloud extends Spider {
|
|||
uc = new UC();
|
||||
ali = new Ali();
|
||||
tianYi = new TianYi();
|
||||
if(Objects.nonNull(ext)){
|
||||
quark.init(context, ext.has("cookie") ? ext.get("cookie").getAsString() : "");
|
||||
uc.init(context, ext.has("uccookie") ? ext.get("uccookie").getAsString() : "");
|
||||
ali.init(context, ext.has("token") ? ext.get("token").getAsString() : "");
|
||||
tianYi.init(context, ext.has("tianyicookie") ? ext.get("tianyicookie").getAsString() : "");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String detailContent(List<String> shareUrl) throws Exception {
|
||||
if (shareUrl.get(0).matches(Util.patternAli)) {
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
93d20552557be0c0702780f36822810c
|
||||
5da083c7c4fc601b94e45e6f9e0a2172
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://raw.kkgithub.com/lushunming/AndroidCatVodSpider/tyCookieJar/jar/custom_spider.jar;md5;93d20552557be0c0702780f36822810c",
|
||||
"spider": "https://raw.kkgithub.com/lushunming/AndroidCatVodSpider/tyCookieJar/jar/custom_spider.jar;md5;5da083c7c4fc601b94e45e6f9e0a2172",
|
||||
"lives": [
|
||||
{
|
||||
"name": "电视直播",
|
||||
|
|
|
|||
Loading…
Reference in New Issue