This commit is contained in:
FongMi 2023-10-19 11:56:50 +08:00
parent 96d688401b
commit 89be12d33f
6 changed files with 7 additions and 7 deletions

View File

@ -34,9 +34,9 @@ public class Data {
}
public List<Vod> getVod() {
List<Vod> list = new ArrayList<>();
for (Item item : getList()) list.add(item.vod());
return list;
List<Vod> vodList = new ArrayList<>();
for (Item item : getList()) vodList.add(item.vod());
return vodList;
}
public Class type() {

View File

@ -52,7 +52,7 @@ public class Market extends Spider {
@Override
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception {
for (Data data : datas) if (data.getName().equals(tid)) return Result.string(data.getVod());
for (Data data : datas) if (data.getName().equals(tid)) return Result.get().page().vod(data.getVod()).string();
return super.categoryContent(tid, pg, filter, extend);
}

Binary file not shown.

View File

@ -1 +1 @@
75e53be144f567045cf1de67327d5478
53d68dba05ae31c36cf51a2c44c328e4

View File

@ -1,5 +1,5 @@
{
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;75e53be144f567045cf1de67327d5478",
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;53d68dba05ae31c36cf51a2c44c328e4",
"wallpaper": "https://gao.chuqiuyu.tk",
"sites": [
{

View File

@ -1,5 +1,5 @@
{
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;75e53be144f567045cf1de67327d5478",
"spider": "https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;53d68dba05ae31c36cf51a2c44c328e4",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [
{