mirror of
https://github.com/qist/tvbox.git
synced 2025-10-27 10:12:19 +00:00
update JS
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user