爱看电影.js 1.0 KB

123456789101112131415161718192021222324
  1. var rule = {
  2. title:'爱看',
  3. host:'https://ikandy.fun',
  4. // homeUrl:'/',
  5. url:'/vodtype/fyclass-fypage/',
  6. //searchUrl:'/vodsearch/**----------fypage---.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;/(\\d+)/',
  15. play_parse:true,
  16. lazy:'',
  17. limit:8,
  18. 推荐:'.stui-vodlist.clearfix;.stui-vodlist__box;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  19. double:true, // 推荐内容是否双层定位
  20. 一级:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  21. 二级:{"title":"h1.title&&Text;.stui-content__detail p:eq(0)&&Text","img":".lazyload&&src","content":".stui-content__detail p:eq(4)&&Text","tabs":".playlist.mb h3.title","lists":".stui-content__playlist:eq(#id) li"},
  22. }