add - douban 61
This commit is contained in:
@@ -24,6 +24,11 @@ import java.util.*;
|
|||||||
import java.util.concurrent.locks.ReentrantLock;
|
import java.util.concurrent.locks.ReentrantLock;
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
/**6161-自动生成阿里云链接 61-默认阿里云播放 2-默认4K播放
|
||||||
|
* TODO(阿里云 各种详情页面解析)
|
||||||
|
* @author yangqiang
|
||||||
|
* @date 2022/9/19 9:50
|
||||||
|
*/
|
||||||
|
|
||||||
public class PushAgent extends Spider {
|
public class PushAgent extends Spider {
|
||||||
private static long timeToken = 0;
|
private static long timeToken = 0;
|
||||||
@@ -426,7 +431,7 @@ public class PushAgent extends Spider {
|
|||||||
playLists.add(TextUtils.join("#", vodItems));
|
playLists.add(TextUtils.join("#", vodItems));
|
||||||
playLists.add(TextUtils.join("#", vodItems));
|
playLists.add(TextUtils.join("#", vodItems));
|
||||||
vodAtom.put("vod_play_url", TextUtils.join("$$$", playLists));
|
vodAtom.put("vod_play_url", TextUtils.join("$$$", playLists));
|
||||||
vodAtom.put("vod_play_from", "4K原画$$$AliYun");
|
vodAtom.put("vod_play_from", "AliYun$$$4K原画");
|
||||||
}
|
}
|
||||||
JSONObject result = new JSONObject();
|
JSONObject result = new JSONObject();
|
||||||
JSONArray list = new JSONArray();
|
JSONArray list = new JSONArray();
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ public class Upyunso extends PushAgent {
|
|||||||
@Override
|
@Override
|
||||||
public String searchContent(String key, boolean z) {
|
public String searchContent(String key, boolean z) {
|
||||||
try {
|
try {
|
||||||
|
fetchRule(false, 0);
|
||||||
JSONArray jSONArray = new JSONArray();
|
JSONArray jSONArray = new JSONArray();
|
||||||
key = URLEncoder.encode(key);
|
key = URLEncoder.encode(key);
|
||||||
JSONArray arr = Base64Utils.getJSONByUrl("https://api.upyunso.com/search?keyword=" + key+"&page=1");
|
JSONArray arr = Base64Utils.getJSONByUrl("https://api.upyunso.com/search?keyword=" + key+"&page=1");
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ public class Yiso extends PushAgent {
|
|||||||
@Override
|
@Override
|
||||||
public String searchContent(String key, boolean quick) {
|
public String searchContent(String key, boolean quick) {
|
||||||
try {
|
try {
|
||||||
PushAgent.getRefreshTk();
|
fetchRule(false, 0);
|
||||||
HashMap<String, String> LT = sHeaders();
|
HashMap<String, String> LT = sHeaders();
|
||||||
String url = "https://yiso.fun/api/search?name=" + URLEncoder.encode(key) + "&from=ali";
|
String url = "https://yiso.fun/api/search?name=" + URLEncoder.encode(key) + "&from=ali";
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class Misc {
|
|||||||
public static JSONObject siteRule = null;
|
public static JSONObject siteRule = null;
|
||||||
public static Integer type=1;
|
public static Integer type=1;
|
||||||
public static String btype="N";
|
public static String btype="N";
|
||||||
public static boolean rflag = true;
|
public static boolean rflag = false;
|
||||||
public static String apikey = "0ac44ae016490db2204ce0a042db2916";
|
public static String apikey = "0ac44ae016490db2204ce0a042db2916";
|
||||||
public static boolean isVip(String url) {
|
public static boolean isVip(String url) {
|
||||||
// 适配2.0.6的调用应用内解析列表的支持, 需要配合直连分析一起使用,参考cjt影视和极品直连
|
// 适配2.0.6的调用应用内解析列表的支持, 需要配合直连分析一起使用,参考cjt影视和极品直连
|
||||||
|
|||||||
Reference in New Issue
Block a user