Update alist

pull/69/head
FongMi 3 years ago
parent fc8688bce6
commit 2a1f7c055e
  1. 4
      app/src/main/java/com/github/catvod/bean/alist/Item.java
  2. 2
      app/src/main/java/com/github/catvod/spider/AList.java
  3. BIN
      jar/custom_spider.jar
  4. 2
      jar/custom_spider.jar.md5

@ -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…
Cancel
Save