This commit is contained in:
qist
2023-09-04 09:34:37 +08:00
parent 364968fae2
commit 1144c32da1
23 changed files with 557 additions and 260 deletions
+5 -1
View File
@@ -18,7 +18,11 @@ VOD.vod_name = pdfh(html1, "h2&&Text");
VOD.vod_director = "";
VOD.vod_content = "";
log(VOD);
input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2";
var v_tks = '';
let script = pdfa(html1,'script').find(it=>it.includes('v_tks+=')).replace(/<script>|<\\/script>/g,'');
eval(script);
input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2"+"&token="+v_tks;
// input = "https://www.ikanbot.com/api/getResN?videoId=" + input.split("/").pop() + "&mtype=2";
let html = request(input, {
headers: {
'User-Agent':'PC_UA',