mirror of
https://github.com/letian1650/N3RD.git
synced 2025-02-02 09:14:49 +08:00
37 lines
1.4 KiB
JavaScript
37 lines
1.4 KiB
JavaScript
|
var rule = {
|
||
|
title: '家庭影视',
|
||
|
//host: 'http://103.242.3.90:565/',
|
||
|
host: 'http://a1.qiuyu.xyz:565/',
|
||
|
url: '/index.php/vod/show/id/fyclass/page/fypage.html',
|
||
|
searchUrl: '/index.php/vod/search/page/fypage/wd/**.html',
|
||
|
searchable: 2,
|
||
|
quickSearch: 0,
|
||
|
filterable: 0,
|
||
|
headers: {
|
||
|
'User-Agent': 'MOBILE_UA',
|
||
|
},
|
||
|
class_parse: '.navbar-items li:gt(0):lt(7);a&&Text;a&&href;/(\\d+).html',
|
||
|
play_parse: true,
|
||
|
lazy: `js:
|
||
|
let kcode = JSON.parse(request(input).match(/var player_.*?=(.*?)</)[1]);
|
||
|
let kurl = kcode.url;
|
||
|
if (/\\.(m3u8|mp4)/.test(kurl)) {
|
||
|
input = { jx: 0, parse: 0, url: kurl };
|
||
|
} else {
|
||
|
input = { jx: 0, parse: 1, url: kurl };
|
||
|
}
|
||
|
`,
|
||
|
limit: 6,
|
||
|
推荐: '.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;.module-poster-item-title&&Text;.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',
|
||
|
}
|