12345678910111213141516171819202122232425 |
- var rule = {
- title:'玄天',
- host:'https://m.7caa.com',
- url:'/list/fyclass-fypage.html',
- searchUrl:'/search/**----------fypage---.html',
- searchable:2,//是否启用全局搜索,
- quickSearch:0,//是否启用快速搜索,
- filterable:0,//是否启用分类筛选,
- headers:{//网站的请求头,完整支持所有的,常带ua和cookies
- 'User-Agent':'MOBILE_UA',
- // "Cookie": "searchneed=ok"
- },
- //class_parse:'.stui-header__menu li.hidden-xs;a&&Text;a&&href;.*/(.*?).html',
- class_name:'电影&电视剧&综艺&动漫',
- class_url:'1&2&4&3',
- play_parse:true,
- lazy:'',
- limit:8,
- 推荐:'.stui-pannel_bd;.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
- double:true, // 推荐内容是否双层定位
- 一级:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
- 二级:{"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":".detail-sketch&&Text","tabs":".stui-pannel_hd&&ul li","lists":".tab-pane.fade:eq(#id)&&ul&&li"},
- 搜索:'.stui-vodlist.clearfix li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
- }
|