KOK影视.js 1.5 KB

12345678910111213141516171819202122232425
  1. var rule = {
  2. title:'KOK影视',
  3. host:'https://www.kokyy.com',
  4. // homeUrl:'/',
  5. url:'/koks/fyclass/page/fypage.html',
  6. searchUrl:'/kokso/page/fypage/wd/**.html',
  7. searchable:2,//是否启用全局搜索,
  8. quickSearch:0,//是否启用快速搜索,
  9. filterable:0,//是否启用分类筛选,
  10. headers:{//网站的请求头,完整支持所有的,常带ua和cookies
  11. 'User-Agent':'MOBILE_UA',
  12. // "Cookie": "searchneed=ok"
  13. },
  14. class_name:'电影&电视剧&综艺&动漫&纪录片',
  15. class_url:'kokdy&kokds&kokzy&kokdm&kokjl',
  16. play_parse:true,
  17. lazy:'',
  18. limit:6,
  19. 推荐:'.movie-list-body;.movie-list-item;.movie-title&&Text;.movie-post-lazyload&&data-original;.module-item-note&&Text;a&&href',
  20. double:true, // 推荐内容是否双层定位
  21. 一级:'.movie-list-body&&.movie-list-item;.movie-title&&Text;.movie-post-lazyload&&data-original;.module-item-note&&Text;a&&href',
  22. 二级:{"title":"h1&&Text;.cr3&&Text","img":".poster&&img&&src","desc":".module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.scroll-content&&Text;.title-block&&.starLink&&Text;.module-info-content&&.module-info-item:eq(2)&&.module-info-item-content&&Text","content":".detailsTxt&&Text","tabs":".swiper-wrapper&&a","lists":".play_list_box:eq(#id)&&.content_playlist li"},
  23. 搜索:'.movie-list-body&&.movie-search-list;.movie-title&&Text;.movie-post-lazyload&&data-original;.module-item-note&&Text;a&&href',
  24. }