插萝莉慢.js 481 B

12345678910111213141516
  1. var flag = [];
  2. function lazy() {
  3. let jxUrl = 'http://chaloli.cn/home/api?type=ys&uid=1&key=ekloswzABCGHKLOT58&url=';
  4. fetch_params.headers.Referer = jxUrl;
  5. try {
  6. // realUrl = null;
  7. let html = request(jxUrl + input);
  8. // log(html);
  9. realUrl = jsp.pjfh(html, '$..url');
  10. log('解析到真实播放地址:' + realUrl);
  11. } catch (e) {
  12. log('解析发生错误:' + e.message);
  13. realUrl = input;
  14. }
  15. return realUrl
  16. }