LAN6影视.js 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. var rule = {
  2. title: 'LAN6影视',
  3. host: 'http://lan6.net/',
  4. class_name: '电影&电视剧&综艺&动漫&短剧',
  5. class_url: '1&2&3&5&7',
  6. searchUrl: '/search.html?wd=**',
  7. searchable: 2,
  8. quickSearch: 0,
  9. headers: {
  10. 'User-Agent': 'MOBILE_UA',
  11. },
  12. url: '/list/fyclass/-_-_-_-_-_fypage',
  13. filterable: 0,
  14. filter_url: '',
  15. filter: {},
  16. filter_def: {},
  17. detailUrl: '/index.php/vod/detail/id/fyid.html',
  18. play_parse: true,
  19. 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 = url && url.startsWith('http') && tellIsJx(url) ? {parse:0,jx:1,url:url}:input;\n }",
  20. limit: 6,
  21. 推荐: '.shoutu-vodlist li;a&&title;.lazyload&&data-original;.text&&Text;a&&href',
  22. 一级: '.shoutu-vodlist li;a&&title;.lazyload&&data-original;.text&&Text;a&&href',
  23. 二级: {
  24. title: 'h1&&Text',
  25. img: '.lazyload&&data-original',
  26. desc: '.tag&&Text;.tag&&a:eq(4)&&Text;.tag&&a:eq(2)&&Text;.shoutu-media-bd&&p:eq(1)&&Text;.shoutu-media-bd&&p:eq(2)&&Text',
  27. content: '.desc&&Text',
  28. tabs: '.panel-hd h3',
  29. lists: '.shoutu-playlist:eq(#id) li',
  30. },
  31. 搜索: '*',
  32. tab_remove:['播放记录 清空','关注公众号'],
  33. }