侠客影视.js 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. muban.mxpro.二级.tabs = '.module-tab-items-box&&.module-tab-item';
  2. muban.mxpro.二级.tab_text = 'span&&Text';
  3. var rule = {
  4. title: '侠客影视',
  5. 模板: 'mxpro',
  6. host: 'http://ys.xkys.link',
  7. url: '/index.php/vod/show/id/fyclassfyfilter.html',
  8. filter_url: '{{fl.地区}}{{fl.排序}}{{fl.剧情}}{{fl.类型}}{{fl.语言}}{{fl.字母}}/page/fypage{{fl.年份}}',
  9. filter: 'H4sIAAAAAAAAA+2aWVMaWRiG/0tfO2kazXqXfd/3TOWCRGq0xmhKncxYKatUhKBRQMtACLhN3EcEl3G0GeTPcLrhX0zjOXx9ztfW0FY0lYtz2c/78p2V5j1Nv1c05dzP75Vf/T3KOYUMLRqBoNKgtPve+Pnrd7623/z7xvYqDi5VAktVbF0ovQ2MxtOWn1H1dZuvq0tlrGYxw+usnm1hrGYx+mNGX1y0MAYNDS+VCmnUEGXQ0OIY2c2jhiiDKjA2rgpl0Jfw55I+hPpCWc1SziyQkRXRwhj0ZThrFpCFMW5E5kTeMaIqA8v8B8eIGIPuZhZKezOou5RBldB4JbmMqlAGVaZWrDGiKpQdYo2MgVUzPoYslIElMGwMfEEWymDq8lES3EFTR1nNUpkcNz7PixbGoKH4h/KQjhqiDOZlb82c+JsU1tHUAAZjdK78Fe8aysASCZHoBrJQBrumGLOWF+0ayuyVShuTY3il9hlYBovmX2jojMEEFsbMfPqgoQlK78vqB9g9IJ0jIzp3D6hdu7oHzC1WkqFaS75Ov09lCNZrIWnsZAUHQ/YU54zdPbEGRTCqvQhJFQQHQ7Dkm5+wgyFYgo/r2MEQ1EjMG+lVsQZFMJbpZVyDIXtf/YMdDNk9zTl7mhNqjOaIviDWoAhqDEatWSbhZbEMUBjzfNGMZsyhpDhsoPbtaMb4WLQ+LDYKFHzB7VI+Lpoo4jdUOZspL/XZGwquXW2oVMHy15po87X/ojLELSR2MAT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r/oTRHGoEpkmoRTqApl9v7dIBmUqRmDhlLDRhKlYcbs2V0nxQSe3X3GhZfjf8CaKpR09P88RVzIqvPo83+S6YEjkY8jFZldZXb9EbNrk8yuMrvK7Hrsf857+PAq7+DyDn50fyh55C1c3sLlLfx4b+G9/wFgU9cR8DIAAA==',
  10. searchUrl: '/index.php/vod/search/page/fypage/wd/**.html',
  11. filterable: 1,
  12. class_parse: '.navbar-items li;a&&Text;a&&href;id/(\\d+)',
  13. cate_exclude: '直播',
  14. lazy: $js.toString(() => {
  15. let html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1])
  16. let url = html.url
  17. let from = html.from
  18. if (html.encrypt == '1') {
  19. url = unescape(url);
  20. } else if (html.encrypt == '2') {
  21. url = unescape(base64Decode(url));
  22. }
  23. log('切片地址:' + url);
  24. if (/qiyi|youku|mgtv|haiwaikan|bilibili/.test(from)) {
  25. var jx = request(HOST + "/static/player/" + from + ".js").match(/ src="(.*?)'/)[1];
  26. log(jx)
  27. let con = request(jx + url, {headers: {'Referer': HOST}}).match(/let ConFig.*}/)[0];
  28. log(con)
  29. eval(con + '\nrule.ConFig=ConFig')
  30. function ec(str, uid) {
  31. eval(getCryptoJS());
  32. return CryptoJS.enc.Utf8.stringify(CryptoJS.AES.decrypt(str, CryptoJS.enc.Utf8.parse('2890' + uid + 'tB959C'), {
  33. iv: CryptoJS.enc.Utf8.parse('2F131BE91247866E'),
  34. mode: CryptoJS.mode.CBC,
  35. padding: CryptoJS.pad.Pkcs7
  36. }));
  37. };
  38. //log(rule.ConFig.url)
  39. //log(rule.ConFig.config.uid)
  40. let purl = ec(rule.ConFig.url, rule.ConFig.config.uid);
  41. //log(purl)
  42. input = {
  43. jx: 0,
  44. url: purl,
  45. parse: 0,
  46. //headers:{'Origin':'http://jx.xyks.link'}
  47. }
  48. } else if (/m3u8|mp4/.test(url)) {
  49. input = url;
  50. } else {
  51. input
  52. }
  53. }),
  54. }