煲剧吧.js 1.5 KB

1234567891011121314151617181920212223242526
  1. var rule = {
  2. title:'煲剧吧',
  3. host:'https://baojub.com',
  4. // homeUrl:'/',
  5. url:'/index.php/vod/show/id/fyclass/page/fypage.html',
  6. searchUrl:'/index.php/vod/search/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:'1&2&4&3&6&15&13&16&24&14&22&23&40',
  16. //class_parse:'.myui-panel-box&&ul&&li;a&&Text;a&&href;/v/(.*)/',
  17. play_parse:true,
  18. lazy:'',
  19. limit:6,
  20. 推荐:'ul.hl-vod-list;li;a&&title;.hl-item-thumb.hl-lazy&&data-original;.hl-pic-text&&Text;a&&href',
  21. double:true, // 推荐内容是否双层定位
  22. 一级:'.hl-list-item;a&&title;.hl-item-thumb.hl-lazy&&data-original;.hl-pic-text&&Text;a&&href',
  23. 二级:{"title":".hl-item-thumb.hl-lazy&&title;.hl-full-box&&ul li:eq(6)&&Text","img":".hl-item-thumb.hl-lazy&&data-original","desc":".hl-full-box&&ul&&li:eq(-1)&&Text;.hl-full-box&&ul&&li:eq(-2)&&Text;.hl-full-box&&ul&&li:eq(-3)&&Text;.hl-full-box&&ul&&li:eq(2)&&Text;.hl-full-box&&ul&&li:eq(3)&&Text","content":".hl-col-xs-12.blurb&&Text","tabs":".hl-plays-from:eq(0) a","lists":".hl-plays-list:eq(#id) li"},
  24. 搜索:'ul.hl-one-list&&li;a&&title;.hl-item-thumb&&data-original;.hl-lc-1&&Text;a&&href;.text-muted:eq(-1)&&Text',
  25. }