add - douban token

This commit is contained in:
yangqiang3504
2022-10-08 09:27:28 +08:00
parent 9963cdb7fb
commit dafaaa7cd1
3 changed files with 1 additions and 3 deletions
@@ -46,7 +46,7 @@ public class PushAgent extends Spider {
if (extend != null && !extend.equals("")) {
if (extend.startsWith("http")) {
Misc.jsonUrl = extend;
}
}else Misc.refreshToken = extend;
}
fetchRule(false,0);
}
@@ -20,7 +20,6 @@ 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,6 @@ public class Yiso extends PushAgent {
@Override
public String searchContent(String key, boolean quick) {
try {
fetchRule(false, 0);
HashMap<String, String> LT = sHeaders();
String url = "https://yiso.fun/api/search?name=" + URLEncoder.encode(key) + "&from=ali";