mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-24 11:25:14 +08:00
29 lines
788 B
JavaScript
29 lines
788 B
JavaScript
Object.assign(muban.mxone5.二级, {
|
|
tab_text: 'div--small&&Text',
|
|
});
|
|
var rule = {
|
|
模板: 'mxone5',
|
|
title: '爱你短剧',
|
|
host: 'https://www.ainidj.com',
|
|
url: '/vodshow/fyclass--------fypage---.html',
|
|
searchUrl: '/vodsearch/**----------fypage---.html',
|
|
lazy: $js.toString(() => {
|
|
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
|
|
var url = html.url;
|
|
if (html.encrypt == '1') {
|
|
url = unescape(url)
|
|
} else if (html.encrypt == '2') {
|
|
url = unescape(base64Decode(url))
|
|
}
|
|
if (/\.m3u8|\.mp4/.test(url)) {
|
|
input = {
|
|
jx: 0,
|
|
url: url,
|
|
parse: 0
|
|
}
|
|
} else {
|
|
input
|
|
}
|
|
}),
|
|
|
|
} |