12345678910111213141516171819202122232425 |
- var rule = {
- title:'乐动影视',
- host:'https://www.ledongtv.com',
- // homeUrl:'/',
- url:'/lds/fyclass/page/fypage.html',
- searchUrl:'/ldso/page/fypage/wd/**.html',
- searchable:2,//是否启用全局搜索,
- quickSearch:0,//是否启用快速搜索,
- filterable:0,//是否启用分类筛选,
- headers:{//网站的请求头,完整支持所有的,常带ua和cookies
- 'User-Agent':'MOBILE_UA',
- // "Cookie": "searchneed=ok"
- },
- class_name:'电影&电视剧&综艺&动漫',
- class_url:'ldMovie&ldTv&ldVariety&ldCartoon',
- play_parse:true,
- lazy:'',
- limit:6,
- 推荐:'.module-items;.module-poster-item;a&&title;img&&data-original;.module-item-note&&Text;a&&href',
- double:true, // 推荐内容是否双层定位
- 一级:'.module-poster-item;a&&title;img&&data-original;.module-item-note&&Text;a&&href',
- 二级:{"title":"h1&&Text;.module-info-tag-link:eq(2)&&Text","img":".ls-is-cached.lazy.lazyload&&data-original","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;.module-info-content&&.module-info-item:eq(3)&&.module-info-item-content&&Text;.module-info-content&&.module-info-item:eq(2)&&.module-info-item-content&&Text","content":".module-info-introduction-content&&Text","tabs":".module-tab-items-box:eq(0)&&.module-tab-item","lists":".module-list:eq(#id)&&.module-play-list-content a"},
- 搜索:'.module-card-item.module-item;.module-card-item-title&&Text;img&&data-original;.module-item-note&&Text;a.play-btn-o&&href',
- }
|