看片狂人.js 1.8 KB

1234567891011121314151617181920212223242526272829303132333435
  1. var rule = {
  2. title: '看片狂人',
  3. host: 'https://kpkuang.sbs',
  4. class_name: '电影&电视剧&综艺&动漫&短剧',
  5. class_url: '1&2&3&4&37',
  6. searchUrl: '/vodsearch/**----------fypage---.html',
  7. searchable: 2,
  8. quickSearch: 0,
  9. headers: {
  10. 'User-Agent': 'MOBILE_UA',
  11. },
  12. url: '/vodshow/fyclass--------fypage-----.html',
  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. 推荐: '.fed-list-info .fed-list-item;.uk-label&&Text;a&&data-original;.uk-position-bottom&&Text;a&&href',
  22. 一级: '.fed-list-info .fed-list-item;a&&title;a&&data-original;.uk-position-bottom&&Text;a&&href',
  23. 二级: {
  24. title: '.uk-card-title&&Text;.slide-info:eq(2)--strong&&Text',
  25. img: '.cover-shadow-xs&&data-original',
  26. desc: '.uk-text-left&&li:eq(7)&&Text;.uk-text-left&&li:eq(5)&&Text;.uk-text-left&&li:eq(4)&&Text;.uk-text-left&&li:eq(0)&&Text;.uk-text-left&&li:eq(1)&&Text',
  27. content: '.uk-text-left&&li:eq(-1)&&Text',
  28. tabs: '.yunlist li',
  29. tab_text: 'a&&data-linename',
  30. lists: '.uk-switcher:eq(1)&&.fed-play-item:eq(#id)&&a[href*=/vodplay]',
  31. list_text: 'a--span&&Text',
  32. },
  33. 搜索: '.fed-deta-images.fed-list-info.uk-card;a&&title;a&&data-original;.fed-text-white&&Text;*',
  34. tab_remove:['视频排序:正序','最新更新'],
  35. }