add - yiso678
This commit is contained in:
@@ -70,6 +70,7 @@ public class PushAgent extends Spider {
|
|||||||
getToken(tk);
|
getToken(tk);
|
||||||
}
|
}
|
||||||
Misc.type = Misc.siteRule.optInt("ua", 1);
|
Misc.type = Misc.siteRule.optInt("ua", 1);
|
||||||
|
Misc.btype = Misc.siteRule.optString("btype", "N");
|
||||||
}
|
}
|
||||||
return jo;
|
return jo;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,11 +45,6 @@ public class Upyunso extends Spider {
|
|||||||
@Override
|
@Override
|
||||||
public String searchContent(String key, boolean z) {
|
public String searchContent(String key, boolean z) {
|
||||||
try {
|
try {
|
||||||
if (key.equals("000")) {
|
|
||||||
Misc.btype="N";
|
|
||||||
}if (key.equals("111")) {
|
|
||||||
Misc.btype="Y";
|
|
||||||
}
|
|
||||||
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");
|
||||||
|
|||||||
Reference in New Issue
Block a user