if101.js 1.3 KB

12345678910111213141516171819202122232425
  1. var rule={
  2. title:'if101',
  3. host:'https://www.oulevod.tv',
  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_parse:'.conch-nav&&ul&&li;a&&Text;a&&href;./(\\d+).html',
  15. cate_exclude:'',
  16. play_parse:true,
  17. lazy:'',
  18. limit:6,
  19. 推荐:'body&&.hl-list-wrap;ul&&li;a&&title;.hl-lazy&&data-original;.hl-pic-text&&Text;a&&href',
  20. double:true, // 推荐内容是否双层定位
  21. 一级:'.hl-vod-list&&li;a&&title;.hl-lazy&&data-original;.hl-pic-text&&Text;a&&href',
  22. 二级:{"title":".hl-dc-title&&Text;.hl-col-xs-12&&em&&.hl-text-muted:eq(0)&&Text","img":".hl-lazy&&data-original","desc":".hl-col-xs-12&&em&&.hl-text-muted:eq(-2)&&Text;.hl-col-xs-12&&em&&.hl-text-muted:eq(1)&&Text;.hl-col-xs-12&&em&&.hl-text-muted:eq(2)&&Text","content":".hl-content-text&&Text","tabs":".hl-plays-wrap","lists":".hl-plays-list:eq(#id) li"},
  23. 搜索:'.hl-list-wrap&&ul&&li;.hl-item-thumb&&title;.hl-lazy&&data-original;.hl-pic-text&&Text;a&&href',
  24. }