N3RDN/JN/dr_py/js/剧哥哥.js

29 lines
931 B
JavaScript
Raw Normal View History

2024-06-21 23:03:27 +08:00
Object.assign(muban.mxpro.二级, {
tab_text: 'div--small&&Text',
});
var rule = {
模板: 'mxpro',
title: '剧哥哥',//https://jugege.com/
host: 'https://www.jugege.top',
class_parse: '.navbar-items li:gt(0):lt(8);a&&Text;a&&href;/(\\d+).html',
2024-07-14 15:18:24 +08:00
url: '/vodtype/fyclass.html',
2024-06-21 23:03:27 +08:00
searchUrl: '/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);
}),
}