mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-24 11:25:14 +08:00
32 lines
1.8 KiB
JavaScript
32 lines
1.8 KiB
JavaScript
var rule = {
|
|
title: '多多影视',
|
|
host: 'https://www.9ddys.com',
|
|
url: 'class/fyclass-fypage/',
|
|
searchUrl: '/so/**----------fypage---/',
|
|
searchable: 2,
|
|
quickSearch: 0,
|
|
filterable: 0,
|
|
headers: {
|
|
'User-Agent': 'UC_UA',
|
|
},
|
|
class_name: '电影&电视剧&综艺&动漫',
|
|
class_url: '1&2&3&4',
|
|
play_parse: true,
|
|
lazy: "js:\n let html = request(input);\n let hconf = html.match(/r player_.*?=(.*?)</)[1];\n let json = JSON5.parse(hconf);\n let url = json.url;\n if (json.encrypt == '1') {\n url = unescape(url);\n } else if (json.encrypt == '2') {\n url = unescape(base64Decode(url));\n }\n if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {\n input = {\n parse: 0,\n jx: 0,\n url: url,\n };\n } else {\n input = url && url.startsWith('http') && tellIsJx(url) ? {parse:0,jx:1,url:url}:input;\n }",
|
|
limit: 6,
|
|
double: true,
|
|
推荐: 'ul.stui-vodlist.clearfix;li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href',
|
|
一级: '.stui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
|
|
二级: {
|
|
title: '.stui-content__detail .title&&Text;.stui-content__detail&&p:eq(-2)&&a&&Text',
|
|
title1: '.stui-content__detail .title&&Text;.stui-content__detail&&p&&Text',
|
|
img: '.stui-content__thumb .lazyload&&data-original',
|
|
desc: '.stui-content__detail p&&Text;.stui-content__detail&&p:eq(-2)&&a:eq(2)&&Text;.stui-content__detail&&p:eq(-2)&&a:eq(1)&&Text;.stui-content__detail p:eq(2)&&Text;.stui-content__detail p:eq(1)&&Text',
|
|
desc1: '.stui-content__detail p:eq(4)&&Text;;;.stui-content__detail p:eq(1)&&Text',
|
|
content: '.detail&&Text',
|
|
tabs: '.stui-pannel__head h3',
|
|
tabs1: '.stui-vodlist__head h3',
|
|
lists: '.stui-content__playlist:eq(#id) li',
|
|
},
|
|
搜索: 'ul.stui-vodlist__media,ul.stui-vodlist,#searchList li;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href;.detail&&Text',
|
|
} |