This commit is contained in:
qist
2024-08-30 11:13:39 +08:00
parent 2587e2ab99
commit 3f8a50251c

View File

@@ -77,13 +77,15 @@ var rule = {
let html = request(input); let html = request(input);
let json = JSON.parse(html); let json = JSON.parse(html);
json.data.forEach(function(data) { json.data.forEach(function(data) {
data.list.forEach(function(it) {
d.push({ d.push({
url: "https://www.tycng.com/cj.php?id=" + data.id + "&port=" + json.port, url: "https://www.tycng.com/cj.php?jspid=" + it.id + "&port=" + data.port,
title: data.name, title: it.name,
img: data.pic, img: it.pic,
content:data.content, content:it.content,
desc: data.remarks + "," + data.type_name + "," + json.port desc: it.remarks + "," + it.type_name + "," + data.portname
}) })
});
}); });
setResult(d); setResult(d);
` `