碟调影视.js 1.4 KB

12345678910111213141516171819202122232425
  1. var rule = {
  2. title:'碟调影视',
  3. host:'http://www.618648.com',
  4. // homeUrl:'/',
  5. url:'/die-tiao/fyclass-fypage.html',
  6. searchUrl:'/diediaoch/page/fypage/wd/**.html',
  7. searchable:2,//是否启用全局搜索,
  8. quickSearch:1,//是否启用快速搜索,
  9. filterable:0,//是否启用分类筛选,
  10. headers:{//网站的请求头,完整支持所有的,常带ua和cookies
  11. 'User-Agent':'MOBILE_UA',
  12. // "Cookie": "searchneed=ok"
  13. },
  14. //class_parse:'.stui-header__menu li.hidden-xs;a&&Text;a&&href;.*/(.*?).html',
  15. class_name:'电影&电视剧&综艺&动漫',
  16. class_url:'1&2&3&4',
  17. play_parse:true,
  18. lazy:'',
  19. limit:8,
  20. 推荐:'.stui-vodlist.clearfix;.stui-vodlist__box;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  21. double:true, // 推荐内容是否双层定位
  22. 一级:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  23. 二级:{"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":".stui-content__detail p:eq(9)&&Text","tabs":".nav.nav-tabs li","lists":".tab-pane.fade:eq(#id)&&ul&&li"},
  24. 搜索:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  25. }