vip.js 483 B

12345678910111213141516
  1. var flag = [];
  2. function lazy() {
  3. let jxUrl = 'https://80k.tv/jxplayer.php?v=';
  4. fetch_params.headers.Referer = 'https://1080p.tv';
  5. fetch_params.headers['User-Agent'] = MOBILE_UA;
  6. try {
  7. let html = request(jxUrl + input);
  8. log(html);
  9. realUrl = html.match(/src="(h.*?)"/)[1];
  10. log('解析到真实播放地址:' + realUrl);
  11. } catch (e) {
  12. log('解析发生错误:' + e.message);
  13. realUrl = input;
  14. }
  15. return realUrl
  16. }