白嫖影视.js 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. muban.首图2.二级.title = '.stui-content__detail .title--span&&Text;.stui-content__detail p&&a&&Text';
  2. muban.首图2.二级.content = 'p.col-pd&&Text';
  3. muban.首图2.二级.tabs = '.stui-pannel_hd h3';
  4. muban.首图2.二级.lists = '.stui-content__playlist:eq(#id) li';
  5. muban.首图2.二级.desc = 'p.data:eq(3)&&Text;p.data&&a:eq(-1)&&Text;p.data&&a:eq(-2)&&Text;p.data:eq(1)&&Text;p.data:eq(2)&&Text';
  6. var rule = {
  7. title: '白嫖影视',
  8. 模板: '首图2',
  9. parse: 'https://www.baipiao-ys.cc:6062/player/analysis.php?v=',
  10. host: 'https://www.baipiaoys.com:9092',
  11. url: '/show/fyfilter.html',
  12. filterable: 1,//是否启用分类筛选,
  13. filter_url: '{{fl.地区}}{{fl.排序}}{{fl.剧情}}{{fl.类型}}{{fl.语言}}{{fl.字母}}/page/fypage{{fl.年代}}',
  14. filter: 'H4sIAAAAAAAAA+2bW08bRxTHv4ufU3nW5ua85X6/31PlwU2tNmqaSkArRRESCeBgAhhQsONgkqBiIAnGJkkp2DH+Mp5d+1tklxmfOXPWLU7lp2Ye9//7MzN7ZnfmnPHyKGAFDn7/KPBL7GHgYMDZLPNXzwIHAg+iv8bw9R/R+7/H9owPXJmPrTVG1jzZvQje+zFoBYYOSDSxVqtkncRTRHsUTWV5YlWnvUCd8U17ZEynfYquzvKdsk4jQO3HM/ZwSqcWUx0nVn1NW2rU9viLWilBcAjflPOcdG2F1chK73hlnuCuwNAdzyACK/pXgYXrfwksiVqz8bv3owMDQanpodMtUtMjpFukpk8e6Uho+iyQjoSmx5q0IjQ93mQsQmta6vkVPvlOt0gNxjJRcCrEIjV95nx35GlgyT313ZHUYLj5ldruGzJcoUEr8blG5i1pRWjQyqt37j2SVoQGlifrTmqWWIQGlpEJ+8lLYhEaxKWc5GPbJC5Ca1oai3P2i5xukRp0lHpaT5RIR0K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jmFWSdPVfavSds4phBFM3+8xUeSulEj0On+Rzl8Y4uX8sQitK87+NjvKKeNg482jnLaqNvbOI+o7Sz56napqYOPMTtTIJMhNBjLfNx3wiI1VNr7JkBqrZ862YrQTMVvKn5T8ZuKH1NT8WNqKn5MTcVvKn5T8ZuK31T831TFH+5AxY+q4IWK/fk9roLV1uCl2TpTm4q9vupm8pip7chfWfd1rrL2qrLR1/5KzdVgld7/MwJnJF9fGiYWoUFH02vOTJx0JDSwzLxy1ukv6kKDWOz/0319ZrE+TQ4CpAYdvVniC6Rsl9pX1OR2tuT/RkBoMJb9fwVv49yCF91gfyJjERq25D76La4Gc7S8W/tMPkaQmjofeM3HF0grQoNyp/SB52d0i9Sgo4UJO0M+RpCaiu4mr6ZpdPc0U9mbyt5U9qayN5X9t1fZm2rVVKsBU62aatVUq/9QrXZ1oFpVCzyPj7n5Mq4sI52rLJ3xip2Cz+ybn7nvaR1L4PUbEKmXkEzqZVIvk3qZ1MukXib1QsSkXib1+o+pV3cHUi+1/IuzRaf8Gf3flvdLgvbBnrsy+R3oPyG3CzxZ9DvUViB+VvA7wp1L8+DaHMqaQ9lv7VDW5P4m9ze5v8n9Te5vcn+T+yPyv8r9h74AaTBdkHlFAAA=',
  15. filter_def: {
  16. 1: {类型: '/id/1'},
  17. 2: {类型: '/id/2'},
  18. 3: {类型: '/id/3'},
  19. 4: {类型: '/id/4'},
  20. 5: {类型: '/id/5'}
  21. },
  22. searchUrl: '/search/page/fypage/wd/**.html',
  23. tab_exclude: '影片|评论|榜单',
  24. lazy_demo: `
  25. var key = "11111";
  26. var encrypted = CryptoJS.RC4.encrypt("xxx", key);
  27. console.log(encrypted.toString());
  28. var decrypted = CryptoJS.RC4.decrypt(encrypted.toString(), key).toString(CryptoJS.enc.Utf8);
  29. console.log(decrypted.toString());
  30. `,
  31. lazy2: `js:
  32. let html=request(input);
  33. let jscode=pdfh(html,'body&&script:eq(2)&&Text');
  34. let jsurl=jscode.match(/"url":"(.*?)"/)[1];
  35. input='https://www.baipiao-ys.cc:6062/player/analysis.php?v='+jsurl;
  36. `,
  37. lazy: $js.toString(() => {
  38. function rc4Decode(data, key) {
  39. return decodeURIComponent(CryptoJS.RC4.decrypt(data, CryptoJS.enc.Utf8.parse(key)).toString(CryptoJS.enc.Utf8));
  40. }
  41. let html = request(input);
  42. let match = html.match(/\},\"url\":\"(.*?\")/i);
  43. let url = match[1].replace(/\\/g, '').slice(0, -1);
  44. log('切片地址:' + url);
  45. if (url.includes('.m3u8')) {
  46. input = url;
  47. } else {
  48. url = rule.parse + url;
  49. log('解析播放地址:' + url);
  50. html = request(url);
  51. let key = '202205051426239465';
  52. let url1 = html.match(/"url": "(.*?)"/)[1];
  53. input = rc4Decode(url1, key);
  54. // log(input);
  55. }
  56. }),
  57. }