酷亚影视.js 1.7 KB

123456789101112131415161718192021222324252627282930
  1. var rule= {
  2. title:'酷亚影视',
  3. host:'https://kuyatv.app',
  4. // url:'/index.php/vod/show/id/fyclass/page/fypage.html',
  5. url:'/vodshow/fyclass/page/fypage.html',
  6. searchable: 2,//是否启用全局搜索,
  7. quickSearch: 0,//是否启用快速搜索,
  8. filterable:1,//是否启用分类筛选,
  9. //class_parse: '.stui-header__menu&&li:gt(0):lt(4);a&&Text;a&&href;.*/(.*?).html',
  10. class_name:'国产剧&日剧&欧美剧&韩剧&泰剧&其他剧&电视剧&综艺&动漫&电影&纪录片',
  11. class_url:'domestic-tv-series&japanese-tv-series&western-tv-series&korean-tv-series&thai-tv-series&other-tv-series&shows&tvshows&animation&movies&documentary',
  12. play_parse: true,
  13. lazy:'js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);var url=html.url;if(html.encrypt=="1"){url=unescape(url)}else if(html.encrypt=="2"){url=unescape(base64Decode(url))}if(/m3u8|mp4/.test(url)){input=url}else{input}',
  14. limit: 6,
  15. searchUrl:'/vodsearch/**keyword/page/fypage/',
  16. detailUrl:'/detail/fyid.html', //非必填,二级详情拼接链接
  17. 推荐: '.stui-pannel:eq(2);.stui-vodlist&&li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  18. double: true, // 推荐内容是否双层定位
  19. 一级: '.stui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  20. 二级: {
  21. "title": "h1&&Text;.data&&Text",
  22. "img": "img&&data-original",
  23. "desc": ';;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text',
  24. "content": ".stui-pannel:eq(2)&&p&&Text",
  25. "tabs": "h3:eq(0)",
  26. "lists": ".stui-content__playlist:eq(#id) li"
  27. },
  28. 搜索:'.stui-vodlist__media li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  29. }