mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-24 11:25:14 +08:00
29 lines
1.6 KiB
JavaScript
29 lines
1.6 KiB
JavaScript
var rule={
|
|
title: '美剧窝',
|
|
host: 'https://www.mjwo.net/',
|
|
url: 'https://www.mjwo.net/type/fyclass-fypage/',
|
|
searchUrl: 'https://www.mjwo.net/search/**--/page/fypage/',
|
|
searchable: 2,//是否启用全局搜索,
|
|
quickSearch: 0,//是否启用快速搜索,
|
|
filterable: 0,//是否启用分类筛选,
|
|
headers: {//网站的请求头,完整支持所有的,常带ua和cookies
|
|
'User-Agent': 'MOBILE_UA', // "Cookie": "searchneed=ok"
|
|
},
|
|
class_parse: '.nav-list li;a&&Text;a&&href;.*/(.*?)/',
|
|
cate_exclude: '明星|永久|更新',
|
|
play_parse: true,
|
|
lazy: '',
|
|
limit: 6,
|
|
推荐: 'ul.myui-vodlist.clearfix;li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
|
|
double: true, // 推荐内容是否双层定位
|
|
一级: '.myui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
|
|
二级: {
|
|
"title": ".myui-content__detail .title&&Text;.myui-content__detail p:eq(-2)&&Text",
|
|
"img": ".myui-content__thumb .lazyload&&data-original",
|
|
"desc": ".myui-content__detail p:eq(0)&&Text;.myui-content__detail p:eq(1)&&Text;.myui-content__detail p:eq(2)&&Text",
|
|
"content": ".content&&Text",
|
|
"tabs": ".myui-panel__head.active.bottom-line h3",
|
|
"lists": ".myui-content__list:eq(#id) a"
|
|
},
|
|
搜索: '#searchList li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href;.detail&&p:eq(1) p&&Text',
|
|
} |