dyg.js 638 B

123456789101112131415161718
  1. var flag = [];
  2. function lazy(){
  3. let jxUrl = 'https://vip.lianfaka.com/vip/?url=';
  4. fetch_params.headers.Referer = 'https://www.dy6g.com';
  5. // fetch_params.headers['User-Agent'] = 'Mozilla/5.0 (Linux; Android 6.0.1; OPPO R9s Plus Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/55.0.2883.91 Mobile Safari/537.36';
  6. fetch_params.headers['User-Agent'] = MOBILE_UA;
  7. try {
  8. let html = request(jxUrl+input);
  9. log(html);
  10. realUrl=html.match(/source src="(.*?)"/)[1];
  11. log('解析到真实播放地址:'+realUrl);
  12. }catch (e) {
  13. log('解析发生错误:'+e.message);
  14. realUrl = input;
  15. }
  16. return realUrl
  17. }