皮皮影视.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. var rule = {
  2. title: '皮皮影视',
  3. host: 'https://www.pipiys1.com',
  4. url: '/vodshow/fyclass--------fypage---.html',
  5. //https://www.pipiys1.com/vodshow/fyclass--------fypage---.html https://www.pipiys1.com/vodsearch/ai----------3---.html
  6. searchUrl: '/vodsearch/**----------fypage---.html',
  7. searchable: 2,
  8. quickSearch: 0,
  9. filterable: 0,
  10. headers: {
  11. 'User-Agent': 'MOBILE_UA',
  12. },
  13. class_name: '电影&电视剧&综艺&动漫&短剧',
  14. class_url: '1&2&3&4&5',
  15. tab_order:['自建','PC蓝光','蓝光1线'],
  16. //tab_remove:['急速1线','急速2线','急速3线','急速4线'],
  17. play_parse: true,
  18. lazy: `js:
  19. var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  20. log(html)
  21. var url = html.url;
  22. if (html.from == 'bilibili' || html.from== 'lzm3u8' || html.from== 'ffm3u8'|| html.from== 'bfzym3u8' || html.from== 'leshi'|| html.from== 'qiyi'|| html.from== 'xdzj'|| html.from== 'qq'|| html.from== 'youku'|| html.from== 'NBY') {
  23. let jxhtml = post('https://api.xdys.vip/lx/post.php', {
  24. body:url
  25. });
  26. let jxurl =JSON.parse(jxhtml)
  27. input=jxurl.url || input
  28. }
  29. if (html.from == 'mytv') {
  30. let jxinput = 'https://pl.qcheng.cc/?url='+url
  31. let jxhtml=JSON.parse(request(jxinput))
  32. input=jxhtml.url || input
  33. }
  34. `,
  35. limit: 6,
  36. 推荐: '.tab-list.active;a.module-poster-item.module-item;.module-poster-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href',
  37. double: true,
  38. 一级: 'body a.module-poster-item.module-item;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href',
  39. 二级: {
  40. title: 'h1&&Text;.module-info-tag-link:eq(2)&&Text',
  41. img: '.lazyload&&data-original',
  42. desc: '.module-info-item:eq(3)&&Text;.module-info-tag-link:eq(0)&&Text;.module-info-tag-link:eq(1)&&Text;.module-info-item:eq(2)&&Text;.module-info-item:eq(1)&&Text',
  43. content: '.module-info-introduction&&Text',
  44. tabs: '.module-tab-items-box.hisSwiper span',
  45. lists: '.module-play-list:eq(#id) a',
  46. },
  47. 搜索: 'body .module-item;.module-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href;.module-info-item-content&&Text',
  48. }