Update alist
This commit is contained in:
parent
fc8688bce6
commit
2a1f7c055e
|
|
@ -126,4 +126,8 @@ public class Item {
|
|||
public Vod getVod(String id) {
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ public class AList extends Spider {
|
|||
try {
|
||||
String response = OkHttpUtil.postJson(drive.searchApi(), drive.params(keyword));
|
||||
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) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
a6b119b4d3bbb3efdf4c373e76305239
|
||||
8211cf471a24a780127bf9e96ebd32ff
|
||||
|
|
|
|||
Loading…
Reference in New Issue