add - Upyso89
This commit is contained in:
@@ -25,7 +25,7 @@ public class Base64Utils {
|
||||
JSONObject o = null, o2 = null;
|
||||
JSONObject jsonObject2 = jsonObject.getJSONObject("result"),oc = null;
|
||||
JSONArray array = jsonObject2.getJSONArray("items"), ac2 = new JSONArray();
|
||||
int z = 11, f=0;
|
||||
int z = 15, f=0;
|
||||
int len = array.length() > z ? z : array.length();
|
||||
for (int i = 1; i < len; i++) {
|
||||
o2 = new JSONObject();
|
||||
|
||||
@@ -45,7 +45,7 @@ public class Upyunso extends Spider {
|
||||
try {
|
||||
JSONArray jSONArray = new JSONArray();
|
||||
key = URLEncoder.encode(key);
|
||||
JSONArray arr = Base64Utils.getJSONByUrl("https://api.upyunso.com/search?keyword=" + key);
|
||||
JSONArray arr = Base64Utils.getJSONByUrl("https://api.upyunso.com/search?keyword=" + key+"&page=1");
|
||||
if (arr.length() > 0) {
|
||||
String pic = "http://image.xinjun58.com/image/tv/ups.jpg";
|
||||
for (int i = 0; i < arr.length(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user