追剧啦.js 1.6 KB

123456789101112131415161718192021222324252627
  1. var rule = {
  2. title:'追剧啦',
  3. host:'https://www.zhuiju.la',
  4. // homeUrl:'/',
  5. url:'/vodshow/fyclass--------fypage---.html',
  6. searchUrl:'/vodsearch/**----------fypage---.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:'1&2&3&4',
  16. play_parse:true,
  17. lazy:'',
  18. limit:6,
  19. 推荐:'.module-items;.module-item;.module-item-cover&&.module-item-pic&&a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  20. //推荐:'.module-item;.module-item-cover&&.module-item-pic;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  21. double:true, // 推荐内容是否双层定位
  22. //一级:'.module-list&&.module-item-pic;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  23. 一级:'.module-item;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  24. 二级:{"title":"h1.page-title&&Text;.video-info-aux&&Text","img":".lazyload&&data-src","desc":".video-info-items:eq(-1)&&Text;.video-info-items:eq(-3)&&Text;.video-info-items:eq(-2)&&Text;.video-info-items:eq(1)&&.video-info-item.video-info-actor&&Text;.video-info-items:eq(0)&&.video-info-item.video-info-actor&&Text","content":".video-info-items:eq(5)&&Text","tabs":".module-tab-item.tab-item","lists":".module-blocklist.scroll-box:eq(#id) a"},
  25. 搜索:'.module-search-item;h3&&Text;img&&data-src;.module-item-text&&Text;a&&href',
  26. }