多多.jsd 826 B

123456789101112131415161718192021222324
  1. let jxUrl = 'https://api.10static.com/?from=duoduozy&url=';
  2. fetch_params.headers.Referer = 'https://www.1010dy3.com';
  3. fetch_params.headers['User-Agent'] = PC_UA;
  4. try {
  5. let html = request(jxUrl+vipUrl);
  6. // log(html);
  7. let url = html.match(/var urls = "(.*?)"/)[1];
  8. let key = 'Of84ff0clf252cba';
  9. let iv = 'c487ebl2e38aOfaO';
  10. try {
  11. eval(getCryptoJS());
  12. var getVideoInfo = function (text,key,iv) {
  13. return CryptoJS.AES.decrypt(text, key, {iv: iv, padding: CryptoJS.pad.Pkcs7}).toString(CryptoJS.enc.Utf8);
  14. };
  15. realUrl = getVideoInfo(url,key,iv);
  16. }catch (e) {
  17. log('发生了错误:'+e.message);
  18. realUrl = vipUrl;
  19. }
  20. log('解析到真实播放地址:'+realUrl);
  21. }catch (e) {
  22. log('解析发生错误:'+e.message);
  23. realUrl = vipUrl;
  24. }