千神影视.js 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. var rule = {
  2. title: '千神影视',
  3. host: 'https://www.9mcm.com',
  4. url: '/vodshow/fyfilter.html',
  5. searchUrl: '/vodsearch/**----------fypage---.html',
  6. searchable: 2,
  7. quickSearch: 0,
  8. filterable: 1,
  9. filter: 'H4sIAAAAAAAAA+2aaU8bRxjHv4tfp9KubQjkXe77vlPlRVQhNWqbSk1aqYoiAcbEXDZGBMexgZBwJcVgjhCwa/vLeHbtb9E181zbLiurpJVQ9p3/v9nZmeeZGc9/Z/d5yAwd+/Z56Iee30PHQvZ6Wc2MhI6Enjz6qUfq3x79+GvP3oVPHKziy83Ycgs7wgy9OAJ4cKKZ/QA4bDAfXrYny8j5eqt/xZ5KIw8Tt/uqzTdV5BHijdWiqrxC3sH3Sbyul4aQd3K7Q0tWLI78KPHmuwGVHgYe4XbV6rYqFZBzuyo5qFIbyKPcbmzY6n+DnPujUvON99huhPtjL6XVLuahU6anXskD5l6qhZd8dRc32jdu9U4B7uarp/JOuDgknHs7sc45MDn39vCaXfmI3MnBw1aJngWUN5gFnMf9Z4F3R0B4dgaEZ1wgPDMEwjOpIDwnAAjPSQOCJlphUY1ickB4Jg6E50QH4TmcIKgvhcV69S32RQvPRQWC6s18dHqO9bRoJ5+uhQfCc1KDoNjLKRXfwdi1oEU1PWG9XoAyEHTPqZeNoRLeUwuKr7pqT35SlXUMkbTncgLhuTRB0CjWxp0xwFHUgrOat6bTlNU9QWUDNfsPjAQEZaCStst5V4ddyLWM8kU1WhLLCHVby2h+qZkdxE5oQalezFo7a5hqLThZRWu3SsnaE9T5alLlKthtLWiINl9xGQhK5Mg6l4GgepkFK7+C9bSgfs5+4HogeNg/cxkI7ktR9qXoqjdWVKVFrKcF1RtIOZlSCVwtrCmShZqdKthDWQyGNC/ht9ZIzalGqxg1XRHfrpdxYYGQw95YKzSWe3nYSbc17LmKcz3eXAsxDFwGgoZ2Y57LQN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bEFQveSsSuSwnhY8jzZUAe0ZCLpnbtjKos0CwXlZV7UM5WVPiG32PzyVylXqJTpC1ELs/fueIHnaoDY7HFikwCIFFimwSIFFCn09FikcPeh7Ql7wKjXWqKzYiQq/yYnKr/w2m+/SVt+IncAPiqJdom7rNVy9nOXPw6Lim7/W/+97+0OtsY1fM3bwH0FjIG1tzbg+9eoQ3/8li07dZqyidvqxNBws2mDRHt5FG+2UDzbB7A1m7+GZvS/+AsG/5QyILwAA',
  10. filter_url: '{{fl.类型}}-{{fl.地区}}-{{fl.排序}}-{{fl.剧情}}-{{fl.语言}}-{{fl.字母}}---fypage---{{fl.年份}}',
  11. filter_def: {
  12. "1": {"类型": "1"},
  13. "2": {"类型": "2"},
  14. "3": {"类型": "3"},
  15. "4": {"类型": "4"},
  16. "24": {"类型": "24"}
  17. },
  18. headers: {
  19. 'User-Agent': 'PC_UA',
  20. },
  21. timeout: 10000,
  22. class_parse: '.top_nav&&li:lt(7);a&&Text;a&&href;/(\\w+).html',
  23. cate_exclude: 'Netflix|今日更新|专题列表|排行榜|热榜|文章',
  24. play_parse: true,
  25. lazy: $js.toString(() => {
  26. let html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  27. let url = html.url;
  28. if (html.encrypt == '1') {
  29. url = unescape(url)
  30. } else if (html.encrypt == '2') {
  31. url = unescape(base64Decode(url))
  32. }
  33. if (/\.m3u8/.test(url)) {
  34. let body = request(url);
  35. let lines = body.split('\n');
  36. let m3u8Url = null;
  37. for (let line of lines) {
  38. line = line.trim();
  39. if (line.endsWith('.m3u8')) {
  40. m3u8Url = urljoin(url, line);
  41. console.log(m3u8Url);
  42. break;
  43. }
  44. }
  45. input = {
  46. jx: 0,
  47. url: m3u8Url || url,
  48. parse: 0
  49. };
  50. } else {
  51. input = {
  52. jx: tellIsJx(url),
  53. url: url,
  54. parse: 0
  55. };
  56. }
  57. }),
  58. double: true,
  59. limit: 20,
  60. 推荐: '.vodlist_item;.vodlist_thumb;*;*;*;*',
  61. 一级: 'ul.vodlist&&li;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href',
  62. 二级: {
  63. title: 'h2&&Text;.detail_list&&ul:eq(1)&&li&&a:eq(2)&&Text',
  64. img: '.lazyload&&data-original',
  65. desc: 'content_detail&&li:eq(1)&&Text;.detail_list&&ul:eq(1)&&li&&a&&Text;.detail_list&&ul:eq(1)&&li&&a:eq(1)&&Text;.detail_list&&ul:eq(1)&&li:eq(2)&&Text;.detail_list&&ul:eq(1)&&li:eq(3)&&Text',
  66. content: '.content_desc&&span&&Text',
  67. tabs: '.play_source_tab--i&&a',
  68. lists: 'ul.list_scroll:eq(#id)&&li'
  69. },
  70. 搜索: '*',
  71. }