采集
This commit is contained in:
parent
2587e2ab99
commit
3f8a50251c
12
js/caiji.js
12
js/caiji.js
@ -77,13 +77,15 @@ var rule = {
|
||||
let html = request(input);
|
||||
let json = JSON.parse(html);
|
||||
json.data.forEach(function(data) {
|
||||
data.list.forEach(function(it) {
|
||||
d.push({
|
||||
url: "https://www.tycng.com/cj.php?id=" + data.id + "&port=" + json.port,
|
||||
title: data.name,
|
||||
img: data.pic,
|
||||
content:data.content,
|
||||
desc: data.remarks + "," + data.type_name + "," + json.port
|
||||
url: "https://www.tycng.com/cj.php?jspid=" + it.id + "&port=" + data.port,
|
||||
title: it.name,
|
||||
img: it.pic,
|
||||
content:it.content,
|
||||
desc: it.remarks + "," + it.type_name + "," + data.portname
|
||||
})
|
||||
});
|
||||
});
|
||||
setResult(d);
|
||||
`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user