Add files via upload

This commit is contained in:
guot55 2024-06-03 20:18:23 +08:00 committed by GitHub
parent 3eb872a356
commit fa9f8c6734
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 50 additions and 0 deletions

50
lib/xdys.js Normal file
View File

@ -0,0 +1,50 @@
var rule = {
title: 'brovod',
host: 'https://www.brovod.com',
url: '/show/fyclass--hits------fypage---/',
searchUrl: '/ss/**----------fypage---/',
searchable: 2,
quickSearch: 0,
filterable: 0,
headers: {
'User-Agent': 'MOBILE_UA',
},
class_name: '电影&电视剧&综艺&动漫&记录片&短剧',
class_url: '1&2&3&4&5&6',
tab_order:['自建','PC蓝光','蓝光1线'],
//tab_remove:['急速1线','急速2线','急速3线','急速4线'],
play_parse: true,
lazy: `js:
var html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
log(html)
var url = html.url;
if (html.from == 'bilibili' || html.from== 'lzm3u8' || html.from== 'ffm3u8'|| html.from== 'bfzym3u8' || html.from== 'leshi'|| html.from== 'qiyi'|| html.from== 'xdzj'|| html.from== 'qq'|| html.from== 'youku'|| html.from== 'NBY') {
let jxhtml = post('https://api.xdys.vip/lx/post.php', {
body:url
});
let jxurl =JSON.parse(jxhtml)
input=jxurl.url || input
}
if (html.from == 'mytv') {
let jxinput = 'https://pl.qcheng.cc/?url='+url
let jxhtml=JSON.parse(request(jxinput))
input=jxhtml.url || input
}
`,
limit: 6,
推荐: '.tab-list.active;a.module-poster-item.module-item;.module-poster-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href',
double: true,
一级: 'body a.module-poster-item.module-item;a&&title;.lazyload&&data-original;.module-item-note&&Text;a&&href',
二级: {
title: 'h1&&Text;.module-info-tag-link:eq(2)&&Text',
img: '.lazyload&&data-original',
desc: '.module-info-item:eq(3)&&Text;.module-info-tag-link:eq(0)&&Text;.module-info-tag-link:eq(1)&&Text;.module-info-item:eq(2)&&Text;.module-info-item:eq(1)&&Text',
content: '.module-info-introduction&&Text',
tabs: '.module-tab-items-box.hisSwiper span',
lists: '.module-play-list:eq(#id) a',
},
搜索: 'body .module-item;.module-card-item-title&&Text;.lazyload&&data-original;.module-item-note&&Text;a&&href;.module-info-item-content&&Text',
}
释义
摘要