Add files via upload

This commit is contained in:
潇洒 2024-04-05 17:18:07 +08:00 committed by GitHub
parent 51329397f2
commit 612bee9e6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 31 additions and 8 deletions

View File

@ -33,10 +33,10 @@ globalThis.posturl=function(url,json){
} }
var rule = { var rule = {
title: '喵次元[APP]', title: '喵次元[APP]',
host: 'https://cym.zhui.la/api.php', host: 'https://cym.fengche.tv/api.php/',
hostJs:` hostJs:`
var json2 = '{"versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}'; var json2 = '{"versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}';
let url="https://cym.zhui.la/api.php/type/get_list"; let url="https://cym.fengche.tv/api.php/type/get_list";
let jo=posturl(url,json2).data.list; let jo=posturl(url,json2).data.list;
let filters = {}; let filters = {};
let cb={"class":"类型","area":"地区","lang":"语言","year":"年份","star":"演员","director":"导演","state":"状态","version":"版本"}; let cb={"class":"类型","area":"地区","lang":"语言","year":"年份","star":"演员","director":"导演","state":"状态","version":"版本"};
@ -97,7 +97,7 @@ var rule = {
let plyer=dd[1]; let plyer=dd[1];
let video_id=dd[2]; let video_id=dd[2];
var json2 = '{"player_id":"'+plyer+'","ju_id":"'+ju_id+'","vod_id":"'+video_id+'","versionName":"5.6.9","uuid":"3899af59c0b12b98","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}'; var json2 = '{"player_id":"'+plyer+'","ju_id":"'+ju_id+'","vod_id":"'+video_id+'","versionName":"5.6.9","uuid":"3899af59c0b12b98","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}';
let url="https://cym.zhui.la/api.php/video/get_definition"; let url="https://cym.fengche.tv/api.php/video/get_definition";
let html = posturl(url,json2).data[0].url.trim(); let html = posturl(url,json2).data[0].url.trim();
log(html); log(html);
//input=aesX("AES/CBC/PKCS7",false,html,true,"sLunqcoH85Nm/jDmFKns7A==","fedcba9876543210",false); //input=aesX("AES/CBC/PKCS7",false,html,true,"sLunqcoH85Nm/jDmFKns7A==","fedcba9876543210",false);
@ -121,7 +121,7 @@ var rule = {
let page=input.split("&")[1].split("=")[1]; let page=input.split("&")[1].split("=")[1];
log(page); log(page);
var json2 = '{"page":"'+page+'","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}'; var json2 = '{"page":"'+page+'","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}';
let url="https://cym.zhui.la/api.php/video/index"; let url="https://cym.fengche.tv/api.php/video/index";
let jo = posturl(url,json2); let jo = posturl(url,json2);
let vodList = jo.data; let vodList = jo.data;
log(vodList); log(vodList);
@ -154,7 +154,7 @@ var rule = {
}) })
var json2 = '{"type_id":"'+dd["t"]+'","vod_year":"'+dd["year"]+'","limit":"20","orderby":"","vod_area":"'+dd["area"]+'","vod_class":"'+dd["class"]+'","page":"'+dd["page"]+'","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","vod_name":"","versionCode":"35","ctime":"'+getTime()+'"}'; var json2 = '{"type_id":"'+dd["t"]+'","vod_year":"'+dd["year"]+'","limit":"20","orderby":"","vod_area":"'+dd["area"]+'","vod_class":"'+dd["class"]+'","page":"'+dd["page"]+'","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","vod_name":"","versionCode":"35","ctime":"'+getTime()+'"}';
log(json2); log(json2);
let url="https://cym.zhui.la/api.php/video/get_list"; let url="https://cym.fengche.tv/api.php/video/get_list";
let jo = posturl(url,json2); let jo = posturl(url,json2);
var d=[]; var d=[];
jo.data.list.forEach(function(it){ jo.data.list.forEach(function(it){
@ -171,7 +171,7 @@ var rule = {
log(orId); log(orId);
var json2 = '{"vod_id":"'+orId+'","versionName":"5.6.9","uuid":"3899af59c0b12b98","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}'; var json2 = '{"vod_id":"'+orId+'","versionName":"5.6.9","uuid":"3899af59c0b12b98","version":"4835d0a2","versionCode":"35","ctime":"'+getTime()+'"}';
log(json2); log(json2);
let url="https://cym.zhui.la/api.php/video/get_detail"; let url="https://cym.fengche.tv/api.php/video/get_detail";
let jo = posturl(url,json2); let jo = posturl(url,json2);
let node = jo.data; let node = jo.data;
VOD = { VOD = {
@ -196,7 +196,7 @@ var rule = {
//这里分别获取线路 //这里分别获取线路
var json2 = '{"limit":"5000","vod_id":"'+orId+'","page":"1","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","versionCode":"35","player":"'+playurls+'","ctime":"'+getTime()+'"}'; var json2 = '{"limit":"5000","vod_id":"'+orId+'","page":"1","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","versionCode":"35","player":"'+playurls+'","ctime":"'+getTime()+'"}';
log(json2); log(json2);
let url="https://cym.zhui.la/api.php/video/get_player"; let url="https://cym.fengche.tv/api.php/video/get_player";
let jo1 = posturl(url,json2); let jo1 = posturl(url,json2);
jo1.data.list.forEach(function(playurl) { jo1.data.list.forEach(function(playurl) {
if (!playMap.hasOwnProperty(source)) { if (!playMap.hasOwnProperty(source)) {
@ -223,7 +223,7 @@ var rule = {
let page=input.split("&")[1].split("=")[1]; let page=input.split("&")[1].split("=")[1];
log(page); log(page);
var json2 = '{"vod_year":"","limit":"20","orderby":"up","vod_area":"","vod_class":"","page":"'+page+'","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","vod_name":"'+KEY+'","versionCode":"35","ctime":"'+getTime()+'"}'; var json2 = '{"vod_year":"","limit":"20","orderby":"up","vod_area":"","vod_class":"","page":"'+page+'","versionName":"5.6.9","uuid":"9cc01079c64e2495","version":"4835d0a2","vod_name":"'+KEY+'","versionCode":"35","ctime":"'+getTime()+'"}';
let url="https://cym.zhui.la/api.php/video/get_list"; let url="https://cym.fengche.tv/api.php/video/get_list";
let jo = posturl(url,json2); let jo = posturl(url,json2);
var d=[]; var d=[];
jo.data.list.forEach(function(it){ jo.data.list.forEach(function(it){

23
JS/喵物次元.js Normal file
View File

@ -0,0 +1,23 @@
var rule = {
title: '喵物次元',
host: 'https://catw.moe',
模板:'短视2',
searchUrl: '/index.php/vod/search/wd/**.html',
url:'index.php/vod/show/id/fyclass/page/fypage.html',
searchable: 2,//是否启用全局搜索,
quickSearch: 1,//是否启用快速搜索,
filterable: 0,//是否启用分类筛选,
headers: {
'User-Agent': 'MOBILE_UA'
},
play_parse: true,
lazy: '',
limit: 6,
tab_rename:{'喵物次元':'LR',},
class_name:'TV动画&剧场版&特摄剧',
class_url:'1&2&20',
double: false, // 推荐内容是否双层定位
推荐: '*',
一级: '.public-list-exp;a&&title;img&&data-src;.ft2&&Text;a&&href',
搜索: '.public-list-box;.thumb-txt&&Text;.public-list-exp&&img&&data-src;.public-list-prb&&Text;a&&href'
}