剧集屋.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. var rule = {
  2. title: '剧集屋',
  3. host: 'http://jjwu.org/',
  4. url: '/index.php/vod/show/id/fyclass/page/fypage.html',
  5. searchUrl: '/index.php/vod/search.html?wd=**&submit=',
  6. class_name: '动画片', class_url: '26',
  7. searchable: 2,
  8. quickSearch: 0,
  9. filterable: 0,
  10. headers: {
  11. 'User-Agent': 'UC_UA',
  12. },
  13. class_parse: '.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;.*/(.*?).html',
  14. play_parse: true,
  15. 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 }",
  16. limit: 6,
  17. double: true,
  18. 推荐: 'ul.stui-vodlist.clearfix;li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href',
  19. 一级: '.stui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  20. 二级: {
  21. title: '.stui-content__detail .title&&Text;.stui-content__detail&&p:eq(-2)&&a&&Text',
  22. title1: '.stui-content__detail .title&&Text;.stui-content__detail&&p&&Text',
  23. img: '.stui-content__thumb .lazyload&&data-original',
  24. desc: '.stui-content__detail p&&Text;.stui-content__detail&&p:eq(-2)&&a:eq(2)&&Text;.stui-content__detail&&p:eq(-2)&&a:eq(1)&&Text;.stui-content__detail p:eq(2)&&Text;.stui-content__detail p:eq(1)&&Text',
  25. desc1: '.stui-content__detail p:eq(4)&&Text;;;.stui-content__detail p:eq(1)&&Text',
  26. content: '.detail&&Text',
  27. tabs: '.stui-pannel__head h3',
  28. tabs1: '.stui-vodlist__head h3',
  29. lists: '.stui-content__playlist:eq(#id) li',
  30. },
  31. 搜索: 'ul.stui-vodlist__media,ul.stui-vodlist,#searchList li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href;.detail&&Text',
  32. tab_remove:['本周热门','最新更新'],
  33. }