全能影视.js 1.3 KB

12345678910111213141516171819202122232425262728
  1. var rule = {
  2. title: '全能影视',
  3. host: 'https://www.qnkk8.com/',
  4. url: '/mlist/fyclass_fypage.html[/mlist/fyclass.html]',
  5. searchUrl: 'https://so.qnkk8.com/?page=fypage&searchtype=vodsearch&keyword=**&ids=&pinyin=&starring=&directed=&area=&language=&year=&letter=&type=&order=&by=',
  6. class_parse: '.nav ul&&li;a&&Text;a&&href;.*/(\\d+).html',
  7. searchable: 2,
  8. quickSearch: 0,
  9. filterable: 0,
  10. headers: {
  11. 'User-Agent': 'PC_UA',
  12. },
  13. play_parse: true,
  14. lazy: "js:\n let html = request(input);\n let hconf = html.match(/r player_.*?=(.*?)</)[1];\n let json = JSON5.parse(hconf);\n let url = json.url;\n if (json.encrypt == '1') {\n url = unescape(url);\n } else if (json.encrypt == '2') {\n url = unescape(base64Decode(url));\n }\n if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {\n input = {\n parse: 0,\n jx: 0,\n url: url,\n };\n } else {\n input;\n }",
  15. limit: 6,
  16. double: true,
  17. 推荐: '.pic&&li;li; a&&Text;img&&src;#img_but&&Text;a&&href;',
  18. 一级: '.lit&&dl;.h4&&Text;img&&src;dd:eq(3)&&Text;a&&href;',
  19. 二级: {
  20. title: '.h4&&Text;.intro li:eq(1)&&Text',
  21. img: 'img&&src',
  22. desc: '.intro li:eq(6)&&Text;.intro li:eq(3)&&Text;.intro li:eq(2)&&Text;.intro li:eq(4)&&Text;',
  23. content: '.cont&&Text',
  24. tabs: '.tongyi&&h4',
  25. lists: '#mhlist&&ul:eq(#id) li',
  26. },
  27. 搜索: '*',
  28. }