|
|
@ -384,7 +384,8 @@ function alistUrl(alistapi,path,sign,subtitle) { |
|
|
|
let names = []; |
|
|
|
let names = []; |
|
|
|
let heads = []; |
|
|
|
let heads = []; |
|
|
|
playurl.forEach(item => { |
|
|
|
playurl.forEach(item => { |
|
|
|
urls.push(item.url+"#isVideo=true##pre#"); |
|
|
|
let url = cacheM3u8(item.url,{headers:{'Referer':'https://www.aliyundrive.com/'}, timeout: 2000},'video'+i+'.m3u8'); |
|
|
|
|
|
|
|
urls.push(url+"#isVideo=true##pre#"); |
|
|
|
names.push(transcoding[item.template_id]?transcoding[item.template_id]:item.template_height); |
|
|
|
names.push(transcoding[item.template_id]?transcoding[item.template_id]:item.template_height); |
|
|
|
heads.push({'Referer':'https://www.aliyundrive.com/'}); |
|
|
|
heads.push({'Referer':'https://www.aliyundrive.com/'}); |
|
|
|
}) |
|
|
|
}) |
|
|
|