mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-24 11:25:14 +08:00
22 lines
1.3 KiB
JavaScript
22 lines
1.3 KiB
JavaScript
var rule = {
|
|
title:'夜空',
|
|
host:'https://www.yekong.cc',
|
|
// homeUrl:'/',
|
|
url:'/pianku-fyclass--------fypage---/',
|
|
searchUrl:'/search-**----------fypage---/',
|
|
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
|
|
'User-Agent':'MOBILE_UA',
|
|
"Cookie": "searchneed=ok"
|
|
},
|
|
// class_name:'电影&连续剧&福利&动漫&综艺',
|
|
// class_url:'1&2&124&4&3',
|
|
class_parse:'.navbar-items li:gt(1):lt(7);a&&Text;a&&href;.*v/(.*?)/',
|
|
play_parse:true,
|
|
lazy:'',
|
|
limit:10,
|
|
推荐:'.tab-list.active;a.module-poster-item.module-item;.module-poster-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href',
|
|
double:true, // 推荐内容是否双层定位
|
|
一级:'body a.module-poster-item.module-item;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href',
|
|
二级:{"title":"h1&&Text;.module-info-tag&&Text","img":".lazyload&&data-original","desc":".module-info-item:eq(1)&&Text;.module-info-item:eq(2)&&Text;.module-info-item:eq(3)&&Text","content":".module-info-introduction&&Text","tabs":".module-tab-item","lists":".module-play-list:eq(#id) a"},
|
|
搜索:'body .module-item;.module-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href;.module-info-item-content&&Text',
|
|
} |