This commit is contained in:
xxx 2023-01-31 18:43:56 +08:00
parent cc2abbcbbb
commit 3ca585e86e
4 changed files with 4 additions and 4 deletions

View File

@ -184,10 +184,10 @@ public class Bili01 extends Spider {
list.put(result);
}
JSONObject result = new JSONObject();
int limit = 20;
int limit = 12;
int page = Integer.parseInt(pg);
result.put("page", page);
int pageCount = list.length() == limit ? page + 1 : page;
int pageCount = list.length() >= limit ? page + 1 : page;
result.put("pagecount", pageCount);
result.put("limit", limit);
result.put("total", Integer.MAX_VALUE);

Binary file not shown.

View File

@ -1 +1 @@
d97f0dbc2d2d83c3f22d89095f88dbfe
4703e915f7f693bcbd25ee4a951c3dec

View File

@ -1,5 +1,5 @@
{
"spider": "https://raw.iqiq.io/dukunjueji/CatVodSpider/main/jar/custom_spider.jar;md5;d97f0dbc2d2d83c3f22d89095f88dbfe",
"spider": "https://raw.iqiq.io/dukunjueji/CatVodSpider/main/jar/custom_spider.jar;md5;4703e915f7f693bcbd25ee4a951c3dec",
"wallpaper": "http://www.kf666888.cn/api/tvbox/img",
"lives": [
{