在线之家.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. muban.首图2.二级.desc = '.data:eq(3)&&Text;;;.data:eq(1)&&Text;.data:eq(2)&&Text';
  2. var rule = {
  3. title: '在线之家',
  4. 模板: '首图2',
  5. // host:'https://www.zxzj.site',
  6. host: 'https://www.zxzja.com',
  7. url: '/vodshow/fyclassfyfilter.html',
  8. filterable: 1,//是否启用分类筛选,
  9. filter_url: '-{{fl.area}}-{{fl.by}}-{{fl.class}}-----fypage---{{fl.year}}',
  10. filter: 'H4sIAAAAAAAAA+2Y32vaUBTH/5c8+2BitV3/ldGHrARW1nWg3UCK0FbtrHQ2LUXrdHOFVe1QTGkpM5L2n0luzH+xxHvPuRe2hTB8KOy+5fM995x77o9zAndPUZX1l3vKG6OorCub23qhoKSUHf2tEaJ3PCDlasgf9O33xmLcTiRXh0F5GMkhKKUUU5vdcDxTGYDNr92yQBzARg5Mst9kNgYYsz50nS7EpIAxB2fedAYxKaAfJs4B56tduvYxzEcBbPNx3zv5wWwMcL76xHfAxkDI07+Y8TwjQNv1R54nA7QdnQftG7BRKG1EVnoeet7QhePoWt6JnfQ4vg+C9hGEpgC2oN8mPyfMxgD9Ti0yfQQ/Crh1o4H/2ICto4Axezdex4GYFNCvdU26I/CjgLY7i/sxwFw+WZ7dh1wogM19qvhOizRhGZzRu/rgzuBiMRA3t2joeWFzp/fuzEm4uVpaW2Ha4lPQM1zPiLrGdU3UVa6rop7melrQ1Reoh5+Cvsb1NVFf5fqqqOe4nhP1LNezos7Xq4rrVfl6VXG9Kl+vKq5X5esNP8XjeFXkh0Ea5559+tthkNZD0LpnAXa3wqF4G2ybWBfM8nprt8BLelLxalAHhc13eSOadSOlaMvqezG95l97YlzfI4cjv3kGBUMhUS+N6UOkXCeHn8GPQpK+F9eDg96dOzWxISxAlqYszQSlmZGlKUtTluZzLM0VWZqyNGVpPsfSzAqlKa/Cf30Vckvq0uFIUulhh1tAki7ml8fzq32wUcCYjaFvQtIM0GZ+9UfYpSlg9/vTWwlshPll3oA3HQYY89uV1xlDTAqJ/hhdm9QuwY8CzvdkhqNhPgroF/O+5FnhNsEhM1jWe0/HcW38aVLAlOLeX2LedOQPR3aZv3aZ0i+/mY/pOxYAAA==',
  11. // tab_exclude: '夸克网盘|迅雷云盘|百度网盘',
  12. tab_remove: ['夸克网盘', '迅雷云盘', '百度网盘'],
  13. // 搜索:muban.首图2.搜索1,
  14. 搜索: 'ul.stui-vodlist&&li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href',
  15. headers: {
  16. 'User-Agent': 'MOBILE_UA',
  17. // 'Referer': HOST,
  18. },
  19. lazy: `js:
  20. var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  21. var url = html.url;
  22. var from = html.from;
  23. if (html.encrypt == '1') {
  24. url = unescape(url)
  25. } else if (html.encrypt == '2') {
  26. url = unescape(base64Decode(url))
  27. }
  28. if (/m3u8|mp4/.test(url)) {
  29. input = url
  30. } else if (/line3|line4|line5/.test(from)) {
  31. var ifrwy = request(url, {
  32. headers: {
  33. 'User-Agent': MOBILE_UA,
  34. 'Referer': HOST,
  35. 'sec-fetch-mode': 'navigate',
  36. 'sec-fetch-site': 'cross-site',
  37. 'sec-fetch-dest': 'iframe',
  38. 'upgrade-insecure-requests': 1,
  39. }
  40. });
  41. let resultv2 = ifrwy.match(/var result_v2 = {(.*?)};/)[1];
  42. let data = JSON.parse('{' + resultv2 + '}').data;
  43. let code = data.split('').reverse();
  44. let temp = '';
  45. for (let i = 0x0; i < code.length; i = i + 0x2) {
  46. temp += String.fromCharCode(parseInt(code[i] + code[i + 0x1], 0x10))
  47. }
  48. input = {
  49. jx: 0,
  50. url: temp.substring(0x0, (temp.length - 0x7) / 0x2) + temp.substring((temp.length - 0x7) / 0x2 + 0x7),
  51. parse: 0
  52. }
  53. } else{
  54. input
  55. }
  56. `,
  57. }