TVB云播.js 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. var rule = {
  2. title: 'TVB云播',
  3. //模板:'mxpro',
  4. host: 'http://www.tvyb09.com', //http://www.hktvyb.vip/发布页
  5. url: 'vod/show/id/fyfilter.html',
  6. filterable: 1, //是否启用分类筛选,
  7. filter_url: '{{fl.cateId}}{{fl.area}}{{fl.by}}{{fl.class}}{{fl.lang}}{{fl.letter}}/page/fypage{{fl.year}}',
  8. class_name: '电影&电视剧&综艺&动漫&日韩剧&国产剧&欧美剧&港台剧',
  9. class_url: '1&2&3&4&16&13&15&14',
  10. filter: 'H4sIAAAAAAAAA+2Z7VIiRxSG74XfVjGDrh97B7mG1P5gN1SyFWOq1KTK2rJKRRDUCFouLgt+ZUXQiIIao0OQm5nuGe4iA92cPn3GWsbSpDYJP33O6+nutxv6ZeZdyAy9/Ppd6PvYXOhl6E10NvbVN6Gh0FT0h5j3t1NvsL017++fo5M/xbrCKQ+zRKUdr3Sw94cZmh+SeLViN4tOekVWRlUlV2TpsqqMQcVJ1Xk8oSrjqlLeZHcNVZmACl/M8oWcqpiGGihd1tqZanY89cG20qgUCc2/6hTl0iejMzNq5aLR51dOlidpuNspLJm+Tl0imb4sXSKZ7jAZSDDdNjKQYLpJpItgullkLoL1JG71mK2f6hLJYC6rF06TSCRDK3K2G74VdRhISiu+FUkG060e2/cHZLqCQZfkVjt/QroIBl32Tr01ki6CgWTpzMltEolgIImv8qWPRCIY+NLIsMQt8UWwnqS9u8U/lHSJZDBQbsVNW2QgwWDR9+fO9u+sWSfrBgzCzJH7iR4JwUCykWSZSyIRDI5EK+vtHTkSgqltKPLdTboNXQaS5ZbzG1m6ZGBgc9NpFB9amlbBn+/odCyKPt7FGlu3gn68j8rtfLI3TqdRWCLYreM8v73QFBIpg2v87l7vIRCs6X6DFZqaQiLY8Kv3VCERbMBanSokgh47JV4803sIBGvZP6E9JFKn6g+qkEjNtOafaU3r8Uu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EJ4rIMz/BZ2B9n47JAAA',
  11. filter_def: {
  12. 1: {
  13. cateId: '1'
  14. },
  15. 2: {
  16. cateId: '2'
  17. },
  18. 3: {
  19. cateId: '3'
  20. },
  21. 4: {
  22. cateId: '4'
  23. },
  24. 13: {
  25. cateId: '13'
  26. },
  27. 14: {
  28. cateId: '14'
  29. },
  30. 15: {
  31. cateId: '15'
  32. },
  33. 16: {
  34. cateId: '16'
  35. }
  36. },
  37. searchUrl: '/vod/search/wd/**.html',//http://www.tvyb09.com/vod/search/wd/%E5%AD%A4%E8%88%9F%E4%B9%8B%E5%9F%8E1994.html
  38. searchable: 2, //是否启用全局搜索,
  39. quickSearch: 0, //是否启用快速搜索,
  40. play_parse: true,
  41. sniffer: 1,//https://c.weimobwmc.com/ol-6NoTV/05cf1687dfa143ea921db83f9cc8a762.mp4
  42. isVideo:'.m3u8',
  43. lazy: $js.toString(() => {
  44. let html = request(input);
  45. let hconf = html.match(/r player_.*?=(.*?)</)[1];
  46. let json = JSON.parse(hconf);
  47. let url = json.url;
  48. if (json.encrypt == '1') {
  49. url = unescape(url);
  50. } else if (json.encrypt == '2') {
  51. url = unescape(base64Decode(url));
  52. }
  53. if (/\.(m3u8|mp4|m4a|mp3)/.test(url)) {
  54. input = {
  55. parse: 0,
  56. jx: 0,
  57. url: url,
  58. };
  59. } else {
  60. let js = 'document.querySelector(".up-file").click()';//contentWindow.document.querySelector
  61. input = {
  62. parse: 1,
  63. url: 'https://jx.nnxv.cn/tv.php?url=' + url,
  64. click: js,
  65. js: js,
  66. };
  67. }
  68. }),
  69. limit: 6,
  70. tab_exclude: '热门资讯',
  71. 推荐: 'ul.myui-vodlist;li;*;*;*;*',
  72. double: true, // 推荐内容是否双层定位
  73. 一级: '.myui-vodlist__box;a&&title;.lazyload&&data-original;.tag&&Text;a&&href',
  74. 二级: {
  75. "title": "h1&&Text;.data:eq(0) a:eq(0)&&Text",
  76. "img": ".lazyload&&data-original",
  77. "desc": ";.data:eq(0) a:eq(2)&&Text;.data:eq(0) a:eq(1)&&Text;.data:eq(2)&&Text;.data:eq(3)&&Text",
  78. "content": ".text-collapse span&&Text",
  79. "tabs": ".myui-panel__head h3",
  80. "lists": ".myui-content__list:eq(#id) li"
  81. },
  82. 搜索: 'ul.myui-vodlist__media li;*;*;*;*',
  83. }