上传文件至 lib

This commit is contained in:
rghy 2024-07-31 17:22:40 +08:00
parent e6c17ed599
commit af73f450e7
4 changed files with 2934 additions and 0 deletions

61
lib/88看球.js Normal file
View File

@ -0,0 +1,61 @@
var rule = {
title:'88看球',
// host:'http://www.88kanqiu.cc',
host:'http://www.88kanqiu.bar/',
url: "/match/fyclass/live",
searchUrl: "",
searchable: 0,
quickSearch: 0,
class_parse: ".nav-pills li;a&&Text;a&&href;/match/(\\d+)/live",
headers: {
"User-Agent": "PC_UA",
},
timeout: 5000,
play_parse: true,
pagecount:{"1":1,"2":1,"4":1,"22":1,"8":1,"9":1,"10":1,"14":1,"15":1,"12":1,"13":1,"16":1,"28":1,"7":1,"11":1,"33":1,"27":1,"23":1,"26":1,"3":1,"21":1,"18":1},
lazy: `js:
if(/embed=/.test(input)) {
let url = input.match(/embed=(.*?)&/)[1];
url = base64Decode(url);
input = {
jx:0,
url: url.split('#')[0],
parse: 0
}
} else if (/\?url=/.test(input)){
input = {
jx:0,
url: input.split('?url=')[1].split('#')[0],
parse: 0
}
} else {
input
}
`,
limit: 6,
double: false,
推荐: "*",
一级: ".list-group .group-game-item;.d-none&&Text;img&&src;.btn&&Text;a&&href",
二级: {
title: ".game-info-container&&Text;.customer-navbar-nav li&&Text",
img: "img&&src",
desc: ";;;div.team-name:eq(0)&&Text;div.team-name:eq(1)&&Text",
content: "div.game-time&&Text",
tabs: "js:TABS=['实时直播']",
lists: `js:
LISTS = [];
let html = request(input.replace('play', 'play-url'));
let pdata = JSON.parse(html).data;
pdata = pdata.slice(6);
pdata = pdata.slice(0, -2);
pdata = base64Decode(pdata);
// log(pdata);
let jo = JSON.parse(pdata).links;
let d = jo.map(function (it) {
return it.name + '$' + urlencode(it.url)
});
LISTS.push(d)
`,
},
搜索: "",
};

2655
lib/初中课堂.json Normal file

File diff suppressed because it is too large Load Diff

198
lib/斗鱼直播.js Normal file

File diff suppressed because one or more lines are too long

20
lib/爱你短剧.json Normal file
View File

@ -0,0 +1,20 @@
{
"请求头": "User-Agent$MOBILE_UA",
"主页url": "https://www.ainidj.com",
"数组": "<div class=\"module-item-pic&&</div>[替换:amp;>>]",
"图片": "data-src=\"&&\"",
"标题": "title=\"&&\"",
"链接": "href=\"&&\"",
"副标题": "module-item-text\">&&</div",
"线路数组": "<div class=\"module-tab-item tab-item&&</div",
"线路标题": ">&&</span",
"播放数组": "module-blocklist scroll-box scroll-box-y&&</div>",
"播放列表": "<a&&</a>",
"播放标题": ">&&</span>",
"播放链接": "href=\"&&\"",
"跳转播放链接": "<script type=\"text/javascript*url\":\"&&\"",
"分类url": "https://www.ainidj.com/vodshwo/{cateId}--{by}-{class}-----{catePg}---{year}.html;;rc",
"分类": "穿越&战神&重生&爱情&萌娃&神医&古代&玄幻&横屏短剧",
"分类值": "fenle&fenlei2&fenlei3&fenlei4&gudai&shenyi&gudai&xuanhuan&yanqing"
}