update JS

This commit is contained in:
chuqiuyu
2023-08-23 16:42:49 +08:00
parent ded31e6514
commit 248f5699b0
6 changed files with 162 additions and 12 deletions

View File

@@ -18,7 +18,12 @@ try {
VOD.vod_content = "";
log(VOD);
input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2";
let html = request(input);
let html = request(input, {
headers: {
'User-Agent':'PC_UA',
'Referer': input,
}
});
print(html);
html = JSON.parse(html);
let episodes = html.data.list;