ng bug
This commit is contained in:
parent
85341ddca4
commit
5872baead0
|
|
@ -98,7 +98,7 @@ public class NG extends Spider {
|
||||||
SpiderDebug.log("ng cate error: " + string);
|
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) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
@ -144,8 +144,8 @@ public class NG extends Spider {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String searchContent(String key, boolean quick) throws UnsupportedEncodingException {
|
public String searchContent(String key, boolean quick) throws UnsupportedEncodingException {
|
||||||
Map<String, String> params = new HashMap<>(getParams());
|
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());
|
String string = OkHttp.string(COMMON_URL + SEARCH_SEARCH, params, getHeaders());
|
||||||
Type type = new TypeToken<Rst<List<SearchRst>>>() {
|
Type type = new TypeToken<Rst<List<SearchRst>>>() {
|
||||||
}.getType();
|
}.getType();
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
7c8206f02973a91b42524d22dc7559d1
|
18939ca9ce72de5c199239b11b0d6d58
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "直播ipv6",
|
"name": "直播ipv6",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue