玄天.js 1.3 KB

12345678910111213141516171819202122232425
  1. var rule = {
  2. title:'玄天',
  3. host:'https://m.7caa.com',
  4. url:'/list/fyclass-fypage.html',
  5. searchUrl:'/search/**----------fypage---.html',
  6. searchable:2,//是否启用全局搜索,
  7. quickSearch:0,//是否启用快速搜索,
  8. filterable:0,//是否启用分类筛选,
  9. headers:{//网站的请求头,完整支持所有的,常带ua和cookies
  10. 'User-Agent':'MOBILE_UA',
  11. // "Cookie": "searchneed=ok"
  12. },
  13. //class_parse:'.stui-header__menu li.hidden-xs;a&&Text;a&&href;.*/(.*?).html',
  14. class_name:'电影&电视剧&综艺&动漫',
  15. class_url:'1&2&4&3',
  16. play_parse:true,
  17. lazy:'',
  18. limit:8,
  19. 推荐:'.stui-pannel_bd;.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  20. double:true, // 推荐内容是否双层定位
  21. 一级:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  22. 二级:{"title":"h1.title&&Text;.stui-content__detail p:eq(2)&&Text","img":".lazyload&&data-original","desc":".video-info-items:eq(-2)&&Text;.video-info-items:eq(-1)&&Text;.video-info-items:eq(-2)&&Text;.stui-content__detail p:eq(7)&&Text;.stui-content__detail p:eq(6)&&Text","content":".detail-sketch&&Text","tabs":".stui-pannel_hd&&ul li","lists":".tab-pane.fade:eq(#id)&&ul&&li"},
  23. 搜索:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  24. }