星空影院.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. var rule = {
  2. title: '星空影院',
  3. host: 'https://www.2000xk.com/',
  4. url: '/hd/fyclass/by/time/page/fypage.html',
  5. //url:'/hd/fyclass/by/time/fyfilter.html',
  6. filterable: 1,
  7. //filter_url:'/class/{{fl.class}}/page/fypage/year/{{fl.year}}',
  8. class_name: '电视剧&电影&动漫&综艺&短剧',
  9. class_url: 'dianshiju&dianying&dongman&zongyi&duanju',
  10. filter: {},
  11. searchUrl: 'vod/search.html?wd=**&submit=',
  12. searchable: 2, //是否启用全局搜索,
  13. quickSearch: 0, //是否启用快速搜索,
  14. filterable: 0, //是否启用分类筛选,
  15. play_parse: true,
  16. lazy: `js:
  17. let html = request(input);
  18. let hconf = html.match(/r player_.*?=(.*?)</)[1];
  19. let json = JSON5.parse(hconf);
  20. let url = json.url;
  21. if (json.encrypt == '1') {
  22. url = unescape(url);
  23. } else if (json.encrypt == '2') {
  24. url = unescape(base64Decode(url));
  25. }
  26. if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {
  27. input = {
  28. parse: 0,
  29. jx: 0,
  30. url: url,
  31. };
  32. } else {
  33. input;
  34. }`,
  35. limit: 6,
  36. //推荐:'body&&.stui-vodlist__box;a&&title;a&&data-original;.text-right&&Text;a&&href',
  37. double: true, // 推荐内容是否双层定位
  38. 一级: 'body&&.stui-vodlist__box;a&&title;a&&data-original;.text-right&&Text;a&&href',
  39. 二级: {
  40. "title": "body&&.stui-content__detail h1&&Text;p.data:eq(1)&&Text",
  41. "img": "img.lazyload&&data-original",
  42. "desc": ".stui-content__detail p:eq(1)&&Text;.stui-content__detail p:eq(4)&&Text",
  43. "content": ".detail-sketch&&Text",
  44. "tabs": ".stui-pannel__head h3",
  45. "lists": ".stui-content__playlist:eq(#id) li"
  46. },
  47. 搜索: 'body&&.stui-vodlist__media;a&&title;a&&data-original;.text-muted&&Text;a&&href',
  48. //tab_remove:['电视剧频道','本周热门电视剧'],
  49. tab_order: ['百度云', '腾讯云', '乐视云', '阿里云', '小米云', '哔哩云'],
  50. /*tab_rename: {
  51. '百度云': '尤东风💠1080zyk',
  52. '腾讯云': '尤东风💠暴风',
  53. '优酷云': '尤东风💠天空',
  54. '微软云': '尤东风💠索尼',
  55. '乐视云': '尤东风💠黑木耳',
  56. '搜狐云': '尤东风💠搜狐云',
  57. '字节云': '尤东风💠爱看',
  58. '阿里云': '尤东风💠非凡',
  59. '西瓜云': '尤东风💠百度',
  60. '小米云': '尤东风💠卧龙',
  61. '滴滴云': '尤东风💠gsm3u',
  62. '哔哩云': '尤东风💠磨渡',
  63. '新浪云': '尤东风💠新浪',
  64. '京东云': '尤东风💠金鹰'
  65. },*/
  66. }