mirror of
https://github.com/qist/tvbox.git
synced 2026-04-21 06:52:58 +00:00
更新
This commit is contained in:
@@ -19,13 +19,14 @@ VOD.vod_name = pdfh(html1, "h2&&Text");
|
||||
VOD.vod_content = "";
|
||||
log(VOD);
|
||||
var v_tks = '';
|
||||
let script = pdfa(html1,'script').find(it=>it.includes('v_tks+=')).replace(/<script>|<\\/script>/g,'');
|
||||
eval(script);
|
||||
// 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',
|
||||
// 'User-Agent':'PC_UA',
|
||||
'User-Agent':'MOBILE_UA',
|
||||
'Referer': input,
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user