MCPcopy Create free account
hub / github.com/FongMi/CatVodSpider / call

Method call

app/src/main/java/com/github/catvod/spider/AList.java:275–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

273 }
274
275 @Override
276 public List<Vod> call() {
277 try {
278 List<Vod> list = new ArrayList<>();
279 String response = post(drive, drive.searchApi(), drive.params(keyword));
280 List<Item> items = Item.arrayFrom(getSearchJson(drive.isNew(), response));
281 for (Item item : items) if (!item.ignore(drive.isNew())) list.add(item.getVod(drive));
282 return list;
283 } catch (Exception e) {
284 return Collections.emptyList();
285 }
286 }
287 }
288}

Callers

nothing calls this directly

Calls 8

arrayFromMethod · 0.95
searchApiMethod · 0.80
paramsMethod · 0.80
getSearchJsonMethod · 0.80
isNewMethod · 0.80
ignoreMethod · 0.80
postMethod · 0.45
getVodMethod · 0.45

Tested by

no test coverage detected