mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-25 04:05:17 +08:00
14 lines
432 B
JavaScript
14 lines
432 B
JavaScript
// let jxUrl = 'http://api.ckflv.cn/?url=';
|
|
log(env);
|
|
let jxUrl = 'https://k.json.icu/home/api?type=ys&uid=12406929&key=adgouwyCGIRSTUV046&url=';
|
|
fetch_params.headers.Referer = jxUrl;
|
|
try {
|
|
// realUrl = null;
|
|
let html = request(jxUrl+vipUrl);
|
|
log(html);
|
|
realUrl = jsp.pjfh(html,'$..url');
|
|
log('解析到真实播放地址:'+realUrl);
|
|
}catch (e) {
|
|
log('解析发生错误:'+e.message);
|
|
realUrl = vipUrl;
|
|
} |