add - 详情页播放 push11
This commit is contained in:
@@ -53,7 +53,7 @@ public class Proxy extends Spider {
|
|||||||
ByteArrayInputStream baos = new ByteArrayInputStream("ok".getBytes("UTF-8"));
|
ByteArrayInputStream baos = new ByteArrayInputStream("ok".getBytes("UTF-8"));
|
||||||
result[2] = baos;
|
result[2] = baos;
|
||||||
return result;
|
return result;
|
||||||
} else if (what.equals("ali")) {
|
} else if (what.equals("ali")||what.equals("push")) {
|
||||||
return PushAgent.vod(params);
|
return PushAgent.vod(params);
|
||||||
} else if (what.equals("czspp")) {
|
} else if (what.equals("czspp")) {
|
||||||
return Czsapp.loadsub(params.get("url"));
|
return Czsapp.loadsub(params.get("url"));
|
||||||
|
|||||||
@@ -147,10 +147,10 @@ public class XBiubiu extends Spider {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
JSONObject result = new JSONObject();
|
JSONObject result = new JSONObject();
|
||||||
result.put("page", pg);
|
result.put("page", 1);
|
||||||
result.put("pagecount", Integer.MAX_VALUE);
|
result.put("pagecount", 1);
|
||||||
result.put("limit", 90);
|
result.put("limit", videos.length());
|
||||||
result.put("total", Integer.MAX_VALUE);
|
result.put("total", videos.length());
|
||||||
result.put("list", videos);
|
result.put("list", videos);
|
||||||
return result;
|
return result;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user