add - Upyso87
This commit is contained in:
@@ -50,7 +50,6 @@ public class Base64Utils {
|
|||||||
a2.put(o2);
|
a2.put(o2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
System.out.println(a2.toString());
|
|
||||||
}
|
}
|
||||||
} catch (JSONException e) {
|
} catch (JSONException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ public class Upyunso extends Spider {
|
|||||||
public String searchContent(String key, boolean z) {
|
public String searchContent(String key, boolean z) {
|
||||||
try {
|
try {
|
||||||
JSONArray jSONArray = new JSONArray();
|
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);
|
||||||
String pic = "http://image.xinjun58.com/image/tv/ups.jpg";
|
String pic = "http://image.xinjun58.com/image/tv/ups.jpg";
|
||||||
for (int i = 0; i < arr.length(); i++) {
|
for (int i = 0; i < arr.length(); i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user