add - douban token12
This commit is contained in:
@@ -52,9 +52,11 @@ public class PushAgent extends Spider {
|
||||
}
|
||||
|
||||
public static void getToken(String token){
|
||||
if (token.startsWith("http")) {
|
||||
Misc.refreshToken = OkHttpUtil.string(token, null);
|
||||
}else Misc.refreshToken = token;
|
||||
if(Misc.refreshToken.equals("")){
|
||||
if (token.startsWith("http")) {
|
||||
Misc.refreshToken = OkHttpUtil.string(token, null);
|
||||
}else Misc.refreshToken = token;
|
||||
}
|
||||
}
|
||||
|
||||
public static JSONObject fetchRule(boolean flag,int t) {
|
||||
@@ -431,7 +433,7 @@ public class PushAgent extends Spider {
|
||||
playLists.add(TextUtils.join("#", vodItems));
|
||||
playLists.add(TextUtils.join("#", vodItems));
|
||||
vodAtom.put("vod_play_url", TextUtils.join("$$$", playLists));
|
||||
vodAtom.put("vod_play_from", "AliYun$$$4K原画");
|
||||
vodAtom.put("vod_play_from", "4K原画$$$AliYun");
|
||||
}
|
||||
JSONObject result = new JSONObject();
|
||||
JSONArray list = new JSONArray();
|
||||
|
||||
@@ -17,7 +17,7 @@ public class Misc {
|
||||
public static final String DeAgent = "Dalvik/2.1.0 (Linux; U; Android " + Build.VERSION.RELEASE + "; " + Build.MODEL + " Build/" + Build.ID + ")";
|
||||
public static final String MoAgent = "Mozilla/5.0 (Linux; Android 11; Ghxi Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/76.0.3809.89 Mobile Safari/537.36 T7/12.16 SearchCraft/3.9.1 (Baidu; P1 11)";
|
||||
public static String jsonUrl = "http://test.xinjun58.com/sp/d.json";
|
||||
public static String refreshToken="http://catvod.fun:8001/tv/ali.txt";
|
||||
public static String refreshToken="";
|
||||
public static JSONObject siteRule = null;
|
||||
public static Integer type=1;
|
||||
public static String btype="N";
|
||||
|
||||
Reference in New Issue
Block a user