Update alist

This commit is contained in:
FongMi 2022-11-24 17:54:22 +08:00
parent 8e4483f765
commit 62e7a7fdf3
5 changed files with 8 additions and 5 deletions

View File

@ -105,7 +105,8 @@ public class AList extends Spider {
} }
@Override @Override
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) { public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception {
fetchRule();
String type = extend.containsKey("type") ? extend.get("type") : "name"; String type = extend.containsKey("type") ? extend.get("type") : "name";
String order = extend.containsKey("order") ? extend.get("order") : "asc"; String order = extend.containsKey("order") ? extend.get("order") : "asc";
List<Item> folders = new ArrayList<>(); List<Item> folders = new ArrayList<>();
@ -123,7 +124,8 @@ public class AList extends Spider {
} }
@Override @Override
public String detailContent(List<String> ids) { public String detailContent(List<String> ids) throws Exception {
fetchRule();
String id = ids.get(0); String id = ids.get(0);
Item item = getDetail(id); Item item = getDetail(id);
String path = id.substring(0, id.lastIndexOf("/")); String path = id.substring(0, id.lastIndexOf("/"));
@ -140,6 +142,7 @@ public class AList extends Spider {
@Override @Override
public String searchContent(String keyword, boolean quick) throws Exception { public String searchContent(String keyword, boolean quick) throws Exception {
fetchRule();
List<Vod> list = new ArrayList<>(); List<Vod> list = new ArrayList<>();
JSONObject params = new JSONObject(); JSONObject params = new JSONObject();
params.put("path", "/"); params.put("path", "/");

Binary file not shown.

View File

@ -1 +1 @@
999ead597b4ef0e43de0321fd93ff0d4 3161b616a35606b97460c59b19ed3b40

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;999ead597b4ef0e43de0321fd93ff0d4", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;3161b616a35606b97460c59b19ed3b40",
"wallpaper": "https://gao.chuqiuyu.tk", "wallpaper": "https://gao.chuqiuyu.tk",
"lives": [ "lives": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;999ead597b4ef0e43de0321fd93ff0d4", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;3161b616a35606b97460c59b19ed3b40",
"wallpaper": "http://www.kf666888.cn/api/tvbox/img", "wallpaper": "http://www.kf666888.cn/api/tvbox/img",
"lives": [ "lives": [
{ {