Add files via upload

This commit is contained in:
alantang 2024-01-31 11:57:42 +08:00 committed by GitHub
parent dc13490266
commit 72f65df62b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 44 additions and 0 deletions

44
js/喵物次元.js Normal file
View File

@ -0,0 +1,44 @@
var rule = {
title: '喵物次元',
host: 'https://catw.moe',
模板:'短视2',
searchUrl: '/index.php/vod/search/wd/**.html',
url:'/index.php/api/vod#type=fyclass&page=fypage',
searchable: 2,//是否启用全局搜索,
quickSearch: 1,//是否启用快速搜索,
filterable: 0,//是否启用分类筛选,
headers: {
'User-Agent': 'MOBILE_UA'
},
play_parse: true,
lazy: '',
limit: 6,
class_name:'TV动画&剧场版&特摄剧',
class_url:'1&2&20',
double: false, // 推荐内容是否双层定位
推荐: '.public-list-exp;a&&title;img&&data-src;.ft2&&Text;a&&href',
一级:`js:
let body = input.split("#")[1];
let t = Math.round(new Date / 1e3).toString();
let key = md5("DS" + t + "DCC147D11943AF75");
let url = input.split("#")[0];
body = body + "&time=" + t + "&key=" + key;
print(body);
fetch_params.body = body;
let html = post(url, fetch_params);
let data = JSON.parse(html);
VODS = data.list.map(function(it) {
it.vod_pic = it.vod_pic.replace(/mac/, "https");
return it
});
`,
二级: {
"title": "h1&&Text;.hl-ma0&&Text",
"img": ".module-item-pic&&img&&data-src",
"desc": ".slide-info-remarks&&Text;.video-info-items:eq(2)&&Text;.video-infs&&Text;.video-info-item:eq(1)&&Text;.video-info-items:eq(0)&&Text",
"content": "#height_limit&&Text",
"tabs": ".anthology-tab&&a",
"lists": ".anthology-list-box:eq(#id)&&li"
},
搜索: '.public-list-box;.thumb-txt&&Text;.public-list-exp&&img&&data-src;.public-list-prb&&Text;a&&href'
}