This commit is contained in:
lushunming 2024-08-14 06:51:48 +08:00
parent 85341ddca4
commit 5872baead0
5 changed files with 6 additions and 6 deletions

View File

@ -98,7 +98,7 @@ public class NG extends Spider {
SpiderDebug.log("ng cate error: " + string);
}
return Result.string(classList, vodList, filters);
return Result.string(Integer.parseInt(pg), Integer.parseInt(pg) + 1, vodList.size(), Integer.MAX_VALUE, vodList);
} catch (Exception e) {
throw new RuntimeException(e);
}
@ -145,7 +145,7 @@ public class NG extends Spider {
@Override
public String searchContent(String key, boolean quick) throws UnsupportedEncodingException {
Map<String, String> params = new HashMap<>(getParams());
params.put("video_name", URLEncoder.encode(key,"UTF-8"));
params.put("video_name", URLEncoder.encode(key, "UTF-8"));
String string = OkHttp.string(COMMON_URL + SEARCH_SEARCH, params, getHeaders());
Type type = new TypeToken<Rst<List<SearchRst>>>() {
}.getType();

Binary file not shown.

View File

@ -1 +1 @@
7c8206f02973a91b42524d22dc7559d1
18939ca9ce72de5c199239b11b0d6d58

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;7c8206f02973a91b42524d22dc7559d1",
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;18939ca9ce72de5c199239b11b0d6d58\n",
"lives": [
{
"name": "直播ipv6",

View File

@ -1,5 +1,5 @@
{
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;7c8206f02973a91b42524d22dc7559d1",
"spider": "https://androidcatvodspider.pages.dev/jar/custom_spider.jar;md5;18939ca9ce72de5c199239b11b0d6d58\n",
"lives": [
{
"name": "直播ipv6",