Update paper
This commit is contained in:
parent
ae5710b8d6
commit
f697f59d22
|
|
@ -79,10 +79,14 @@ public class Paper extends Spider {
|
|||
|
||||
@Override
|
||||
public String categoryContent(String tid, String pg, boolean filter, HashMap<String, String> extend) {
|
||||
List<Vod> list = new ArrayList<>();
|
||||
String type = extend.containsKey("type") ? extend.get("type") : tid;
|
||||
List<Data> items = Data.arrayFrom(OkHttpUtil.string(URL + "data/" + type + ".json", getHeaders()));
|
||||
for (Data item : items) list.add(item.getVod());
|
||||
List<Vod> list = new ArrayList<>();
|
||||
Map<String, String> params = new HashMap<>();
|
||||
params.put("action", "viewcat");
|
||||
params.put("cat", type);
|
||||
params.put("num", pg);
|
||||
String result = OkHttpUtil.post("https://gitcafe.net/tool/alipaper/", params, getHeaders());
|
||||
for (Data item : Data.arrayFrom(result)) list.add(item.getVod());
|
||||
return Result.string(list);
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
1d0b9871d95075f2b2ccaf08b62ac64b
|
||||
0e62ab2bdd71349180449eb724065dc9
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;1d0b9871d95075f2b2ccaf08b62ac64b",
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;0e62ab2bdd71349180449eb724065dc9",
|
||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||
"lives": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;1d0b9871d95075f2b2ccaf08b62ac64b",
|
||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;0e62ab2bdd71349180449eb724065dc9",
|
||||
"wallpaper": "http://www.kf666888.cn/api/tvbox/img",
|
||||
"lives": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue