tv/天天视频.js
kgys f3b987311c Update 101 files
- /优加视频.json
- /不卡视频.json
- /晨光视频.json
- /好影视频.json
- /河马视频.json
- /金鲲视频.json
- /美柏视频.json
- /米线视频.json
- /片吧视频.json
- /奇优视频.js
- /奇优视频.json
- /三米视频.json
- /淘剧视频.json
- /唐人视频.json
- /666.jar
- /666.png
- /111.jar
- /小米视频.js
- /超清视频.json
- /八戒视频.json
- /五福视频.json
- /666.txt
- /追剧视频.js
- /模板.js
- /uri.min.js
- /drpy.min.js
- /pako.min.js
- /node-rsa.js
- /jsonpathplus.min.js
- /json5.js
- /jsencrypt.js
- /jinja.min.js
- /jinja.js
- /gbk.js
- /drpy2.js
- /crypto-js.js
- /crypto-hiker.js
- /核桃视频.json
- /drpy2.min.js
- /cheerio.min.js
- /蝌蚪视频.json
- /天天视频.js
- /鲨鱼视频.json
- /天龙视频.js
- /小熊视频.js
- /星辰视频.json
- /网络视频.json
- /北川视频.json
- /酷吧视频.json
- /玖玖视频.json
- /灿烂视频.json
- /白羊视频.json
- /海纳视频.json
- /果蔬视频.json
- /荐片视频.js
- /闪雷影视.js
- /采集静态.json
- /金蔓视频.json
- /捌号视频.json
- /狒狒视频.json
- /影全视频.json
- /幺捌视频.json
- /捌伍视频.json
- /豌豆视频.json
- /星辰视频.js
- /影港磁力.json
- /天堂磁力.json
- /夕云视频.json
- /芒果视频.js
- /腾讯视频.js
- /搜狗视频.js
- /优酷视频.js
- /孜然视频.json
- /奈飞视频.json
- /达龟视频.json
- /俩捌视频.json
- /剧圈视频.json
- /木耳视频.json
- /南瓜视频.js
- /影库视频.json
- /磁熊磁力.js
- /剧圈视频.js
- /影港视频.js
- /陆维视频.js
- /狐狸视频.json
- /奇趣视频.json
- /畅梦视频.js
- /仨捌视频.js
- /仨伍视频.json
- /仨捌视频.json
- /仨陆视频.js
- /工场视频.js
- /哔站视频.js
- /666.js
- /云播视频.json
- /盒子视频.json
- /奇艺视频.js
- /客松视频.js
- /俩伍视频.json
- /非凡视频.json
- /666.json
2025-01-22 03:52:02 +00:00

183 lines
5.7 KiB
JavaScript

globalThis.h_ost = 'http://op.ysdqjs.cn/';
globalThis.vodlist = function($t, $pg) {
const currentTimestamp = parseInt(Date.now() / 1000, 10);
const url = h_ost + '/v2/home/type_search';
const hx = CryptoJS.MD5('kj5649ertj84ks89r4jh8s45hf84hjfds04k' + currentTimestamp).toString();
let html = request(url, {
body: {
sign: hx,
type_id: $t,
page: $pg,
},
headers: {
'User-Agent': 'okhttp-okgo/jeasonlzy',
'Content-Type': 'application/x-www-form-urlencoded'
},
'method': 'POST'
}, true);
return JSON.parse(html).data.list;
}
globalThis.seach = function(wd) {
const currentTimestamp = parseInt(Date.now() / 1000, 10);
const url = h_ost + '/v2/home/search';
const hx = CryptoJS.MD5('kj5649ertj84ks89r4jh8s45hf84hjfds04k' + currentTimestamp).toString();
let html = request(url, {
body: {
sign: hx,
keyword: wd,
timestamp: currentTimestamp,
},
headers: {
'User-Agent': 'okhttp-okgo/jeasonlzy',
'Content-Type': 'application/x-www-form-urlencoded'
},
'method': 'POST'
}, true);
return JSON.parse(html).data.list;
}
globalThis.vodids = function(ids) {
const currentTimestamp = parseInt(Date.now() / 1000, 10);
const url = h_ost + '/v2/home/vod_details';
const hx = CryptoJS.MD5('kj5649ertj84ks89r4jh8s45hf84hjfds04k' + currentTimestamp).toString();
let html = request(url, {
body: {
sign: hx,
vod_id: ids,
timestamp: currentTimestamp,
},
headers: {
'User-Agent': 'okhttp-okgo/jeasonlzy',
'Content-Type': 'application/x-www-form-urlencoded'
},
'method': 'POST'
}, true);
const redata = JSON.parse(html);
let vodPlayFrom = '';
let vodPlayUrl = '';
redata.data.vod_play_list.forEach((value, key) => {
if (value.flag.includes("nby") || value.flag.includes("mgtv") || value.flag.includes("qq") || value.flag.includes("qiyi") || value.flag.includes("mgtv") || 1) {
vodPlayFrom += `${value.flag}$$$`;
value.urls.forEach(url => {
vodPlayUrl += `${url.name}$${value.parse_urls[0]}${url.url}~${url.name}#`;
});
vodPlayUrl += '$$$';
}
});
const regeshi = {
vod_id: redata.data.vod_id,
vod_name: redata.data.vod_name,
vod_remarks: `${redata.data.vod_remarks}`,
type_name: redata.data.vod_class,
vod_pic: redata.data.vod_pic,
vod_year: redata.data.vod_year,
vod_area: redata.data.vod_area,
vod_actor: `${redata.data.vod_actor}`,
vod_director: redata.data.vod_director,
vod_content: `${redata.data.vod_content}`,
vod_play_from: vodPlayFrom,
vod_play_url: vodPlayUrl
};
return regeshi;
}
globalThis.jxx = function(input) {
if ("741852963" !== '741852963') {
return 'https://s0.mall.tcl.com/group1/M00/00/89/CvoGBGdcOPaAAUxvADwZniVV2bc476.mp4';
}
const parts = input.split('~');
try {
let response = fetch(parts[0], {
method: 'get',
headers: {
'User-Agent': 'okhttp/3.14.9',
'Content-Type': 'application/x-www-form-urlencoded'
}
});
if (response.includes("成功") || response.includes("success") || response.includes("nby")) {
let bata = JSON.parse(response);
input = {
parse: 0,
url: bata.url,
jx: 0,
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=789456123&id=' + '&jm=' + VOD.vod_name + '&js=' + parts[1] + '&key=741852963'
}
} else {
input = {
parse: 0,
url: parts[0].includes('url=') ? parts[0].slice(parts[0].indexOf('url=') + 4) : null,
jx: 1,
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=789456123&id=' + '&jm=' + VOD.vod_name + '&js=' + parts[1] + '&key=741852963'
}
}
} catch {
input = {
parse: 0,
url: '解析失败',
jx: 0,
}
}
return input;
}
var rule = {
title: '天天',
host: '',
detailUrl: 'fyid',
searchUrl: '**',
url: 'fyclass',
searchable: 2,
quickSearch: 1,
filterable: 0,
class_name: '电影&电视剧&综艺&动漫',
class_url: '1&2&4&3',
play_parse: true,
lazy: $js.toString(() => {
input = jxx(input);
}),
推荐: $js.toString(() => {
let bdata = vodlist(1, 1);
console.log(bdata);
bdata.forEach(it => {
d.push({
url: it.vod_id,
title: it.vod_name,
img: it.vod_pic,
desc: it.vod_remarks
});
});
setResult(d);
}),
一级: $js.toString(() => {
let bdata = vodlist(input, MY_PAGE);
console.log(bdata);
bdata.forEach(it => {
d.push({
url: it.vod_id,
title: it.vod_name,
img: it.vod_pic,
desc: it.vod_remarks
});
});
setResult(d);
}),
二级: $js.toString(() => {
console.log("调试信息2" + input);
let data = vodids(input);
//console.log(data);
VOD = (data);
}),
搜索: $js.toString(() => {
let ddata = seach(input);
ddata.forEach(it => {
d.push({
url: it.vod_id,
title: it.vod_name,
img: it.vod_pic,
desc: it.vod_remarks
});
});
setResult(d);
}),
}