更新源
This commit is contained in:
parent
e26bd03e24
commit
9582081e60
@ -18,7 +18,11 @@ VOD.vod_name = pdfh(html1, "h2&&Text");
|
|||||||
VOD.vod_director = "";
|
VOD.vod_director = "";
|
||||||
VOD.vod_content = "";
|
VOD.vod_content = "";
|
||||||
log(VOD);
|
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, {
|
let html = request(input, {
|
||||||
headers: {
|
headers: {
|
||||||
'User-Agent':'PC_UA',
|
'User-Agent':'PC_UA',
|
||||||
|
|||||||
@ -17,7 +17,11 @@ try {
|
|||||||
VOD.vod_director = "";
|
VOD.vod_director = "";
|
||||||
VOD.vod_content = "";
|
VOD.vod_content = "";
|
||||||
log(VOD);
|
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, {
|
let html = request(input, {
|
||||||
headers: {
|
headers: {
|
||||||
'User-Agent':'PC_UA',
|
'User-Agent':'PC_UA',
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
3.9.47beta29
|
3.9.47beta30
|
||||||
Loading…
x
Reference in New Issue
Block a user