Update alist

This commit is contained in:
FongMi 2022-12-22 09:41:40 +08:00
parent aa0eb8085a
commit c431197e54
6 changed files with 8 additions and 4 deletions

View File

@ -126,4 +126,8 @@ public class Item {
public Vod getVod(String id) { public Vod getVod(String id) {
return new Vod(getVodId(id), getName(), getPic(), getRemark(), getVodTag()); return new Vod(getVodId(id), getName(), getPic(), getRemark(), getVodTag());
} }
public Vod getVod(Drive drive) {
return new Vod(getVodId(drive.getName()), getName(), getPic(), drive.getName(), getVodTag());
}
} }

View File

@ -164,7 +164,7 @@ public class AList extends Spider {
try { try {
String response = OkHttpUtil.postJson(drive.searchApi(), drive.params(keyword)); String response = OkHttpUtil.postJson(drive.searchApi(), drive.params(keyword));
List<Item> items = Item.arrayFrom(getSearchJson(drive.isNew(), response)); List<Item> items = Item.arrayFrom(getSearchJson(drive.isNew(), response));
for (Item item : items) if (!item.ignore(drive.isNew())) list.add(item.getVod(drive.getName())); for (Item item : items) if (!item.ignore(drive.isNew())) list.add(item.getVod(drive));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} finally { } finally {

Binary file not shown.

View File

@ -1 +1 @@
a6b119b4d3bbb3efdf4c373e76305239 8211cf471a24a780127bf9e96ebd32ff

View File

@ -1,5 +1,5 @@
{ {
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a6b119b4d3bbb3efdf4c373e76305239", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;8211cf471a24a780127bf9e96ebd32ff",
"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;a6b119b4d3bbb3efdf4c373e76305239", "spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;8211cf471a24a780127bf9e96ebd32ff",
"wallpaper": "http://www.kf666888.cn/api/tvbox/img", "wallpaper": "http://www.kf666888.cn/api/tvbox/img",
"lives": [ "lives": [
{ {