add - douban 61
This commit is contained in:
@@ -24,6 +24,11 @@ import java.util.*;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
/**6161-自动生成阿里云链接 61-默认阿里云播放 2-默认4K播放
|
||||
* TODO(阿里云 各种详情页面解析)
|
||||
* @author yangqiang
|
||||
* @date 2022/9/19 9:50
|
||||
*/
|
||||
|
||||
public class PushAgent extends Spider {
|
||||
private static long timeToken = 0;
|
||||
@@ -426,7 +431,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", "4K原画$$$AliYun");
|
||||
vodAtom.put("vod_play_from", "AliYun$$$4K原画");
|
||||
}
|
||||
JSONObject result = new JSONObject();
|
||||
JSONArray list = new JSONArray();
|
||||
|
||||
@@ -20,6 +20,7 @@ public class Upyunso extends PushAgent {
|
||||
@Override
|
||||
public String searchContent(String key, boolean z) {
|
||||
try {
|
||||
fetchRule(false, 0);
|
||||
JSONArray jSONArray = new JSONArray();
|
||||
key = URLEncoder.encode(key);
|
||||
JSONArray arr = Base64Utils.getJSONByUrl("https://api.upyunso.com/search?keyword=" + key+"&page=1");
|
||||
|
||||
@@ -24,7 +24,7 @@ public class Yiso extends PushAgent {
|
||||
@Override
|
||||
public String searchContent(String key, boolean quick) {
|
||||
try {
|
||||
PushAgent.getRefreshTk();
|
||||
fetchRule(false, 0);
|
||||
HashMap<String, String> LT = sHeaders();
|
||||
String url = "https://yiso.fun/api/search?name=" + URLEncoder.encode(key) + "&from=ali";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user