Fix bug
This commit is contained in:
parent
57bdb165e6
commit
1d59d7afae
|
|
@ -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() {
|
||||||
|
|
|
||||||
|
|
@ -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.
|
|
@ -1 +1 @@
|
||||||
75e53be144f567045cf1de67327d5478
|
53d68dba05ae31c36cf51a2c44c328e4
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue