网飞TV.js 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. muban.mxpro.二级.desc = '.module-info-item:eq(-1)&&Text;;;.module-info-item-content:eq(2)&&Text;.module-info-item-content:eq(1)&&Text'
  2. muban.mxpro.二级.tabs = '#y-playList&&.tab-item'
  3. muban.mxpro.二级.tab_text = 'body--small&&Text'
  4. var rule = {
  5. title: '网飞.TV',
  6. 模板: 'mxpro',
  7. host: 'https://www.wangfei.tv',
  8. // url:'/vodshow/id/fyclass/page/fypage.html',
  9. url: '/vodshow/id/fyfilter.html',
  10. filterable: 1,//是否启用分类筛选,
  11. filter_url: '{{fl.cateId}}{{fl.area}}{{fl.by or "/by/time"}}{{fl.class}}{{fl.lang}}{{fl.letter}}/page/fypage{{fl.year}}',
  12. filter: 'H4sIAAAAAAAAA+1ba1MTSRT9vr9ii89uJcFV1/3m+/1+u+WHQbMQxLBCsmuwrEIhEIISpJQYw0MUDLKEBKRYCAb+THom+RfbM9253X3HNaFg322VZXHO4fadOz2VczLtw6++5n8a7kQavv/hYcNdP/234bYR8p+407CrIWjc89OfrcV1MjFIf/7ZaAv7HWGQwiQ6W+mZtWH6Ay3waBfH47Ol4pg10F+l2oPNXeH2nwJGUGhGx8hARmgeBFrDisCKLZo9USEwAvcDwWZVEs9ZxTkh+dEIdoUDisR8PGx2jwrJXdpKE1oo85ysrUsSf0vYCKpVnsxbo8+lZqkgoi5EL0ZptzXsapeOxXqxro6FLqWuFHtVKgwITVcLvaYWf7XSLVvH71Gb0dkpbhFb/8u3CA2fox6nkodj6vhVCcfU2aoSjqk7AS3EMHX8aCGGqbNFVRimzg31wjB1t6CFGKbeIVe7NgaSmX5XuxyDXrLvSxtvUC8Mgyp9I5XUB1SFYVBlYo5eAKrCsC3cALZzkYRhIOmJm09eIwnDYHTrCRJdRaNjWFVSGR8xX82oEo7BRSemy+/wbWSYvLGNDr8h7euxPHlaqHNfl1azJF2srmAX8nAI2nyfMldzioJDosu8ubahKDgE09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oXJGfoJpgg7AvZ7ICRz8o0icyIObs5xAIrMjiFV1Q5FkUr3gJXpRgmBYbKH7Z10e1iKwS1c2CznY6qEY1BlJGvGURThmJhf1FxFlptjwjR8LK0No3YZJlm7yjvULsdAUpgjCxNIwjDoJb0k5l7thWFQ5cWkuYxfgDFMbJ1VM5YoFUZoikG1ZAbGuPyWRgw0RoZBxcUn5cdPUS2G/avexdS26HW8i3EeJLUGg7Sx1sZaZrWxllltrLWx1sZaG2t+gIwayntGcLunyHgV+ABh7wris+anX6ummb0uwErmmhWl45pdOvZaQNY5ttm1MvvuXtbZvhlkO/Udfu3jT1ZPtjyFvDXH4KKGZq3hPlXCMZAMT1jz+CQQw+CS6ziV9GaKpNEX9ByDKrW/fTfHCu6zTQyDTbc57DK7HIMqtV9ckDyd5DLqhWGyZOajW0IxuAHTG6VP6IQUx6DK0CSJpVEVhomHbIlkUebgGCyUjpsplBY4Jqa7SDaTeLoO9nm3+k/9gn5nvlyvdYqq9gko7e21t9feXnt77e21t9fe/g9OAAXa2P+ZkMz9NjwvbckaQD6TY8KKpkuFQWxFHUxYrpqHL8zRfvIUH5BnmHDOb63lt9g5O5hk0c049t8MgzH2z1m9K8itMgwkmXckhyw6x/4640b6olSvmh0GgTPQB+T1Afn/u7XVB+S1Pdb2WNtjbY+1Pa7nq+9Ia6dkjfVjqR9L/Vj+TY+l81Q++h1ZJmrr2UAAAA==',
  13. filter_def: {
  14. dy: {cateId: 'dy'},
  15. juji: {cateId: 'juji'},
  16. zongyi: {cateId: 'zongyi'},
  17. dongman: {cateId: 'dongman'},
  18. jilupian: {cateId: 'jilupian'},
  19. dyjs: {cateId: 'dyjs'}
  20. },
  21. searchUrl: '/index.php/rss.xml?wd=**',
  22. class_parse: '.navbar-items li:gt(1):lt(8);a&&title;a&&href;.*/(.*?).html',
  23. lazy: $js.toString(() => {
  24. let html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  25. let url = html.url;
  26. if (html.encrypt == '1') {
  27. url = unescape(url)
  28. } else if (html.encrypt == '2') {
  29. url = unescape(base64Decode(url))
  30. }
  31. if (/\.m3u8|\.mp4/.test(url)) {
  32. input = {
  33. jx: 0,
  34. url: url,
  35. parse: 0
  36. }
  37. }
  38. }),
  39. 搜索: $js.toString(() => {
  40. let html = request(input);
  41. let items = pdfa(html, 'rss&&item');
  42. // log(items);
  43. let d = [];
  44. items.forEach(it => {
  45. it = it.replace(/title|link|author|pubdate|description/g, 'p');
  46. let url = pdfh(it, 'p:eq(1)&&Text');
  47. d.push({
  48. title: pdfh(it, 'p&&Text'),
  49. url: url,
  50. desc: pdfh(it, 'p:eq(3)&&Text'),
  51. content: pdfh(it, 'p:eq(2)&&Text'),
  52. pic_url: "",
  53. });
  54. });
  55. setResult(d);
  56. }),
  57. }