mirror of
https://github.com/letian1650/N3RD.git
synced 2025-01-25 04:05:17 +08:00
30 lines
1.0 KiB
JavaScript
30 lines
1.0 KiB
JavaScript
var rule = {
|
|
模板: '自动',
|
|
模板修改: $js.toString(() => {
|
|
muban.自动.二级.tabs = '.module-tab-item.tab-item';
|
|
muban.自动.二级.tab_text = 'div--small&&Text';
|
|
}),
|
|
title: '来看点播[自动]',
|
|
host: 'https://lkvod.me',
|
|
url: '/show/fyclass--------fypage---.html',
|
|
class_parse: '.navbar-items li:gt(1):lt(8);a&&Text;a&&href;/(\\d+).html',
|
|
searchUrl: '/index.php/rss/index.xml?wd=**',
|
|
搜索: $js.toString(() => {
|
|
let html = request(input);
|
|
let items = pdfa(html, 'rss&&item');
|
|
// log(items);
|
|
let d = [];
|
|
items.forEach(it => {
|
|
it = it.replace(/title|link|author|pubdate|description/g, 'p');
|
|
let url = pdfh(it, 'p:eq(1)&&Text');
|
|
d.push({
|
|
title: pdfh(it, 'p&&Text'),
|
|
url: url,
|
|
desc: pdfh(it, 'p:eq(3)&&Text'),
|
|
content: pdfh(it, 'p:eq(2)&&Text'),
|
|
pic_url: "",
|
|
});
|
|
});
|
|
setResult(d);
|
|
}),
|
|
} |