mirror of
https://github.com/qist/tvbox.git
synced 2025-10-27 02:02:20 +00:00
采集
This commit is contained in:
12
js/caiji.js
12
js/caiji.js
@@ -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);
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user