mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-24 03:05:33 +08:00
71 lines
3.6 KiB
JavaScript
71 lines
3.6 KiB
JavaScript
var rule = {
|
||
author: '小可乐/240527/第一版',
|
||
title: '爱看农民[优]',
|
||
host: 'https://m.emsdn.cn',
|
||
hostJs: $js.toString(() => {
|
||
print(HOST);
|
||
let html = request(HOST, {headers: {"User-Agent": PC_UA}});
|
||
let src = jsp.pdfh(html, "body&&a:eq(0)&&href") || jsp.pdfh(html, "body&&a:eq(0)&&Text");
|
||
if (src && src.length > 5) {
|
||
print(src);
|
||
if (!src.startsWith('http')) {
|
||
src = 'https://' + src
|
||
}
|
||
print("抓到主页:" + src);
|
||
HOST = src
|
||
}
|
||
}),
|
||
headers: {'User-Agent': 'PC_UA'},
|
||
编码: 'utf-8',
|
||
timeout: 5000,
|
||
homeUrl: '/',
|
||
url: '/vod-list-id-fyfilter.html',
|
||
filter_url: '{{fl.cateId}}-pg-fypage-order--by-{{fl.by or "time"}}-class-0-year-{{fl.year}}-letter-{{fl.letter}}-area-{{fl.area}}-lang-',
|
||
detailUrl: '',
|
||
searchUrl: '/vod-search-pg-fypage-wd-**.html',
|
||
searchable: 1,
|
||
quickSearch: 1,
|
||
filterable: 1,
|
||
class_name: '电影&剧集&综艺&动漫&短剧',
|
||
class_url: '1&2&3&4&26',
|
||
filter_def: {
|
||
1: {cateId: '1'},
|
||
2: {cateId: '2'},
|
||
3: {cateId: '3'},
|
||
4: {cateId: '4'},
|
||
26: {cateId: '26'}
|
||
},
|
||
tab_rename: {
|
||
'播放列表1:(默认)': '默认',
|
||
'播放列表1:(云播①)': '云播①',
|
||
'播放列表1:(云播③)': '云播③',
|
||
'播放列表2:(百度网盘)': '百度网盘'
|
||
},
|
||
play_parse: true,
|
||
lazy: $js.toString(() => {
|
||
let init_js = `Object.defineProperties(navigator, {platform: {get: () => 'iPhone'}});`;
|
||
input = {
|
||
parse: 1,
|
||
url: input,
|
||
js: `try{location.href = document.querySelectorAll("iframe")[1].src;}catch(err) {}document.querySelector(".line").click()`,
|
||
parse_extra: '&init_script=' + encodeURIComponent(base64Encode(init_js)),
|
||
}
|
||
}),
|
||
limit: 12,
|
||
double: false,
|
||
推荐: 'ul.list_06:has(li) li;*;*;*;*',
|
||
一级: 'ul.list_01 li;a:eq(0)&&title;img&&src;font&&Text;a:eq(0)&&href',
|
||
二级: {
|
||
"title": ".fen&&h1&&Text;.d_z_y:eq(2)&&font&&Text",
|
||
"img": ".lef:eq(-1)&&img&&src",
|
||
"desc": ".d_z_y:eq(-3)&&Text;.d_z_y:eq(-2)&&font&&Text;;.d_z_y:eq(1)&&font&&Text;.d_z_y:eq(0)&&font&&Text",
|
||
"content": ".jjie&&Text",
|
||
"tabs": "h2 span",
|
||
"tab_text": "body&&Text",
|
||
"lists": ".soyurl:eq(#id)&&a",
|
||
"list_text": "body&&Text",
|
||
"list_url": "a&&href"
|
||
},
|
||
搜索: '*',
|
||
filter: 'H4sIAAAAAAAAA+2YW08TQRTH3/sx9rkPMy0tLW/c7/c7hIeKm0hETKCaEEKiFoQWATXSChYviaUlgpRgiBShX6Y7pd/CrZw959QHQ4K8zVvP79+dmf90dv9nu+AypFEz7lowHprzRo0xGQqbrfcNtzETemTadfH43Pq4ZtdPQ9NPbDC+YMzY2FrOlCKZMrYLaSy6AccyhYtkMboCio+UeNKKpknxo1JcPVaRZVKqSUm/sc7OSQmgop6/Vs/ipARpnmi6YjQp6KLV94VclEm0bhWJqRc7TKLlWamVikVIe30Ti27csNCsGaLtspJZ61Xu39tFQ39Nl7ZfAoXC0Up72+rnEWhQ4HWbWXV26Vx3XeCeXW5YHy5AgwLH/LRPGhS4A4mUSh6ABgVqJ1m6DgrU4lkr9tna/eLIWOOs+wdqN3WVyhdyO87cHKGr9ayV23NcXReOdrV2TCuAgla3xVe3xTV7KWotb2+tMyzWOHIqX9w8LEa3ncGxdr5RyC8VLxIq7vwYVOMsy6fW94gzxXVRcUbmzdAsnRGVOC0lftzwjHiEpwrYn4+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