This commit is contained in:
FongMi 2023-10-19 11:56:50 +08:00
parent 57bdb165e6
commit 1d59d7afae
4 changed files with 5 additions and 5 deletions

View File

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

View File

@ -52,7 +52,7 @@ public class Market extends Spider {
@Override @Override
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) throws Exception { 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); return super.categoryContent(tid, pg, filter, extend);
} }

Binary file not shown.

View File

@ -1 +1 @@
75e53be144f567045cf1de67327d5478 53d68dba05ae31c36cf51a2c44c328e4