xdys.js 2.1 KB

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