add - yiso678
This commit is contained in:
@@ -70,6 +70,7 @@ public class PushAgent extends Spider {
|
||||
getToken(tk);
|
||||
}
|
||||
Misc.type = Misc.siteRule.optInt("ua", 1);
|
||||
Misc.btype = Misc.siteRule.optString("btype", "N");
|
||||
}
|
||||
return jo;
|
||||
}
|
||||
|
||||
@@ -45,11 +45,6 @@ public class Upyunso extends Spider {
|
||||
@Override
|
||||
public String searchContent(String key, boolean z) {
|
||||
try {
|
||||
if (key.equals("000")) {
|
||||
Misc.btype="N";
|
||||
}if (key.equals("111")) {
|
||||
Misc.btype="Y";
|
||||
}
|
||||
JSONArray jSONArray = new JSONArray();
|
||||
key = URLEncoder.encode(key);
|
||||
JSONArray arr = Base64Utils.getJSONByUrl("https://api.upyunso.com/search?keyword=" + key+"&page=1");
|
||||
|
||||
Reference in New Issue
Block a user