HoHo影视.js 1.6 KB

1234567891011121314151617181920212223242526
  1. var rule = {
  2. title:'HoHo影视',
  3. host:'https://www.hoho.tv',
  4. // homeUrl:'/',
  5. url:'/vod/show/fyclass/page/fypage.html',
  6. searchUrl:'/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:'.nav-menu-items&&li;a&&title;a&&href;/(\\d+).html',
  15. class_name:'电影&电视剧&综艺&动漫&纪录片',
  16. class_url:'1&2&3&4&20',
  17. play_parse:true,
  18. lazy:'',
  19. limit:6,
  20. 推荐:'.module-item;.module-item-cover&&.module-item-pic;a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  21. double:true, // 推荐内容是否双层定位
  22. 一级:'.module-list&&.module-item;.module-item-pic&&a&&title;.lazyloaded&&data-src;.module-item-text&&Text;a&&href',
  23. 二级:{"title":"h1&&Text;.video-info-aux.scroll-content&&Text","img":".lazyload&&data-src","desc":".module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.module-info-content&&.module-info-item:eq(-2)&&Text;.video-info-items:eq(1)&&.video-info-item.video-info-actor&&Text;.video-info-items:eq(0)&&.video-info-item.video-info-actor&&Text","content":".video-info-item.video-info-content.vod_content&&Text","tabs":".module-tab-content&&.module-tab-item.tab-item","lists":".module-blocklist.scroll-box.scroll-box-y:eq(0)&&.scroll-content a"},
  24. 搜索:'.module-search-item;.lazy.lazyload&&alt;img&&data-src;.video-serial&&Text;a.video-serial&&href',
  25. }