mirror of
https://github.com/ls125781003/tvboxtg.git
synced 2025-10-28 20:32:23 +00:00
1221/1221-0932
fix and del XYQ
This commit is contained in:
@@ -37,14 +37,14 @@ var rule = {
|
||||
parse: 0,
|
||||
url: bata.url,
|
||||
jx: 0,
|
||||
danmaku: "http://43.242.202.175:9595/nnjsdm.php?key=741852963&url=" + input.split("?")[0]
|
||||
danmaku: "http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=" + input.split("?")[0]
|
||||
};
|
||||
} else {
|
||||
input = {
|
||||
parse: 0,
|
||||
url: input.split("?")[0],
|
||||
jx: 1,
|
||||
danmaku: "http://43.242.202.175:9595/nnjsdm.php?key=741852963&url=" + input.split("?")[0]
|
||||
danmaku: "http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=" + input.split("?")[0]
|
||||
};
|
||||
}
|
||||
} catch {
|
||||
@@ -52,7 +52,7 @@ var rule = {
|
||||
parse: 0,
|
||||
url: input.split("?")[0],
|
||||
jx: 1,
|
||||
danmaku: "http://43.242.202.175:9595/nnjsdm.php?key=741852963&url=" + input.split("?")[0]
|
||||
danmaku: "http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=" + input.split("?")[0]
|
||||
};
|
||||
}
|
||||
}),
|
||||
|
||||
@@ -74,7 +74,7 @@ globalThis.vodids = function(ids) {
|
||||
rdata.vod_play_list.forEach((value) => {
|
||||
data.vod_play_from += value.player_info.show + '$$$';
|
||||
value.urls.forEach((v) => {
|
||||
data.vod_play_url += v.name + '$' + value.player_info.parse + '|' + v.url + '|' + rdata.vod.vod_name + '|' + v.name + '#';
|
||||
data.vod_play_url += v.name + '$' + value.player_info.parse + '~' + v.url + '~' + rdata.vod.vod_name + '~' + v.name + '#';
|
||||
});
|
||||
data.vod_play_url += '$$$';
|
||||
});
|
||||
@@ -98,15 +98,15 @@ globalThis.ssvod = function(wd) {
|
||||
}
|
||||
//解析
|
||||
globalThis.jxx = function(id, url, name, juji) {
|
||||
/* if("147258369"!=='147258369'){
|
||||
return 'https://mp4.ziyuan.wang/view.php/3c120366111dde9c318be64962b5684f.mp4';
|
||||
/* if("741852963"!=='741852963'){
|
||||
return 'https://s0.mall.tcl.com/group1/M00/00/89/CvoGBGdcOPaAAUxvADwZniVV2bc476.mp4';
|
||||
}*/
|
||||
if (id.startsWith('http')) {
|
||||
return {
|
||||
parse: 1,
|
||||
url: id + url,
|
||||
jx: 0,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&url=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
if (id == 0) {
|
||||
@@ -114,7 +114,7 @@ globalThis.jxx = function(id, url, name, juji) {
|
||||
parse: 0,
|
||||
url: id + url,
|
||||
jx: 1,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&url=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ globalThis.jxx = function(id, url, name, juji) {
|
||||
parse: 0,
|
||||
url: matches[1],
|
||||
jx: 0,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&url=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ var rule = {
|
||||
class_url: '1&2&3&4',
|
||||
play_parse: true,
|
||||
lazy: $js.toString(() => {
|
||||
const parts = input.split('|');
|
||||
const parts = input.split('~');
|
||||
input = jxx(parts[0], parts[1], parts[2], parts[3]);
|
||||
}),
|
||||
推荐: $js.toString(() => {
|
||||
|
||||
@@ -18,7 +18,7 @@ var rule = {
|
||||
play_parse: true,
|
||||
parse_url: '',
|
||||
lazy: $js.toString(() => {
|
||||
let json = request("http://43.242.202.175:9595/nnjsdm.php?key=741852963&url=" + input);
|
||||
let json = request("http://154.9.252.167:666/tvbox/json/json.php/?key=741852963&url=" + input);
|
||||
let bata = JSON.parse(json);
|
||||
input = {
|
||||
parse: 0,
|
||||
|
||||
@@ -74,7 +74,7 @@ globalThis.vodids = function(ids) {
|
||||
rdata.vod_play_list.forEach((value) => {
|
||||
data.vod_play_from += value.player_info.show + '$$$';
|
||||
value.urls.forEach((v) => {
|
||||
data.vod_play_url += v.name + '$' + value.player_info.parse + '|' + v.url + '|' + rdata.vod.vod_name + '|' + v.name + '#';
|
||||
data.vod_play_url += v.name + '$' + value.player_info.parse + '~' + v.url + '~' + rdata.vod.vod_name + '~' + v.name + '#';
|
||||
});
|
||||
data.vod_play_url += '$$$';
|
||||
});
|
||||
@@ -98,8 +98,8 @@ globalThis.ssvod = function(wd) {
|
||||
}
|
||||
//解析
|
||||
globalThis.jxx = function(id, url, name, juji) {
|
||||
/* if("147258369"!=='147258369'){
|
||||
return 'https://mp4.ziyuan.wang/view.php/3c120366111dde9c318be64962b5684f.mp4';
|
||||
/* if("741852963"!=='741852963'){
|
||||
return 'https://s0.mall.tcl.com/group1/M00/00/89/CvoGBGdcOPaAAUxvADwZniVV2bc476.mp4';
|
||||
}*/
|
||||
//console.log(id);
|
||||
if (id.startsWith('http')) {
|
||||
@@ -107,7 +107,7 @@ globalThis.jxx = function(id, url, name, juji) {
|
||||
parse: 1,
|
||||
url: id + url,
|
||||
jx: 0,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
if (id == 0) {
|
||||
@@ -115,7 +115,7 @@ globalThis.jxx = function(id, url, name, juji) {
|
||||
parse: 0,
|
||||
url: url,
|
||||
jx: 1,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
|
||||
@@ -141,7 +141,7 @@ globalThis.jxx = function(id, url, name, juji) {
|
||||
parse: 0,
|
||||
url: matches[1],
|
||||
jx: 0,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ var rule = {
|
||||
class_url: '1&2&3&4',
|
||||
play_parse: true,
|
||||
lazy: $js.toString(() => {
|
||||
const parts = input.split('|');
|
||||
const parts = input.split('~');
|
||||
input = jxx(parts[0], parts[1], parts[2], parts[3]);
|
||||
}),
|
||||
推荐: $js.toString(() => {
|
||||
|
||||
183
潇洒/JS/梦米弹幕.js
Normal file
183
潇洒/JS/梦米弹幕.js
Normal file
@@ -0,0 +1,183 @@
|
||||
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=741852963&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=741852963&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);
|
||||
}),
|
||||
}
|
||||
@@ -75,7 +75,7 @@ globalThis.vodids = function(ids) {
|
||||
rdata.vod_play_list.forEach((value) => {
|
||||
data.vod_play_from += value.player_info.show + '$$$';
|
||||
value.urls.forEach((v) => {
|
||||
data.vod_play_url += v.name + '$' + value.player_info.parse + '|' + v.url + '|' + rdata.vod.vod_name + '|' + v.name + '#';
|
||||
data.vod_play_url += v.name + '$' + value.player_info.parse + '~' + v.url + '~' + rdata.vod.vod_name + '~' + v.name + '#';
|
||||
});
|
||||
data.vod_play_url += '$$$';
|
||||
});
|
||||
@@ -100,27 +100,32 @@ globalThis.ssvod = function(wd) {
|
||||
//解析
|
||||
globalThis.jxx = function(id, url, name, juji) {
|
||||
try {
|
||||
if ("147258369" !== '147258369') {
|
||||
return 'https://mp4.ziyuan.wang/view.php/3c120366111dde9c318be64962b5684f.mp4';
|
||||
if (id.includes('xmflv')) {
|
||||
return {
|
||||
parse: 1,
|
||||
url: id + url,
|
||||
jx: 0,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
if (id.startsWith('http')) {
|
||||
//log(id);
|
||||
if (url.includes('m3u8')) {
|
||||
return {
|
||||
parse: 0,
|
||||
url: url,
|
||||
jx: 1,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
if (id.includes('http')) {
|
||||
let purl = JSON.parse(request(id + url)).url;
|
||||
return {
|
||||
parse: 0,
|
||||
url: purl,
|
||||
jx: 0,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
}
|
||||
if (id == 0) {
|
||||
return {
|
||||
parse: 0,
|
||||
url: id + url,
|
||||
jx: 1,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
};
|
||||
}
|
||||
|
||||
let html1 = request(h_ost + 'api.php/getappapi.index/vodParse', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
@@ -143,12 +148,12 @@ globalThis.jxx = function(id, url, name, juji) {
|
||||
parse: 0,
|
||||
url: matches[1],
|
||||
jx: 0,
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=147258369'
|
||||
danmaku: 'http://43.242.202.175:9595/nnjsdm.php?key=741852963&id=' + '&jm=' + name + '&js=' + juji + '&key=741852963'
|
||||
};
|
||||
} catch {
|
||||
return {
|
||||
parse: 0,
|
||||
url: '',
|
||||
url: '解析失败',
|
||||
jx: 0
|
||||
};
|
||||
}
|
||||
@@ -167,7 +172,7 @@ var rule = {
|
||||
class_url: '1&2&3&4',
|
||||
play_parse: true,
|
||||
lazy: $js.toString(() => {
|
||||
const parts = input.split('|');
|
||||
const parts = input.split('~');
|
||||
input = jxx(parts[0], parts[1], parts[2], parts[3]);
|
||||
}),
|
||||
推荐: $js.toString(() => {
|
||||
|
||||
183
潇洒/JS/追剧弹幕.js
Normal file
183
潇洒/JS/追剧弹幕.js
Normal file
@@ -0,0 +1,183 @@
|
||||
globalThis.h_ost = 'http://v.lkuys.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")) {
|
||||
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=741852963&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=741852963&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(0, 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);
|
||||
}),
|
||||
}
|
||||
76
潇洒/api.json
76
潇洒/api.json
@@ -194,6 +194,20 @@
|
||||
"api": "./JS/drpy2.min.js",
|
||||
"ext": "./JS/巨人弹幕.js"
|
||||
},
|
||||
{
|
||||
"key": "追剧弹幕",
|
||||
"name": "追剧|弹幕",
|
||||
"type": 3,
|
||||
"api": "./JS/drpy2.min.js",
|
||||
"ext": "./JS/追剧弹幕.js"
|
||||
},
|
||||
{
|
||||
"key": "梦米弹幕",
|
||||
"name": "梦米|弹幕",
|
||||
"type": 3,
|
||||
"api": "./JS/drpy2.min.js",
|
||||
"ext": "./JS/梦米弹幕.js"
|
||||
},
|
||||
{
|
||||
"key": "小虎斑弹幕",
|
||||
"name": "小虎斑|弹幕",
|
||||
@@ -572,6 +586,16 @@
|
||||
"filterable": 1,
|
||||
"ext": "http://38.55.250.149:1314/api.php/app/"
|
||||
},
|
||||
{
|
||||
"key": "HG影视",
|
||||
"name": "HG影视|APP",
|
||||
"type": 3,
|
||||
"api": "csp_AppYsV2",
|
||||
"searchable": 1,
|
||||
"quickSearch": 1,
|
||||
"filterable": 1,
|
||||
"ext": "https://cs.hgyx.vip/api2/api.php/app/"
|
||||
},
|
||||
{
|
||||
"key": "天天影视",
|
||||
"name": "天天|APP",
|
||||
@@ -654,7 +678,7 @@
|
||||
"name": "采集|合集",
|
||||
"type": 3,
|
||||
"api": "./JS/drpy2.min.js",
|
||||
"ext": "./JS/采集之王.js?type=url¶ms=../JSON/采集静态.json$1$1"
|
||||
"ext": "./JS/采集之王.js?type=url¶ms=../JSON/采集静态.json$1"
|
||||
},
|
||||
{
|
||||
"key": "厂长资源",
|
||||
@@ -1694,9 +1718,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "臻享",
|
||||
"type": "1",
|
||||
"url": "http://pan.qiaoji8.com/tvbox/neibu.php?url=",
|
||||
"name": "优选",
|
||||
"type": 1,
|
||||
"url": "http://1.94.221.189:88/algorithm.php?url=",
|
||||
"ext": {
|
||||
"flag": [
|
||||
"qq",
|
||||
@@ -1723,9 +1747,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "优选",
|
||||
"type": 1,
|
||||
"url": "http://1.94.221.189:88/algorithm.php?url=",
|
||||
"name": "臻享",
|
||||
"type": "1",
|
||||
"url": "http://pan.qiaoji8.com/tvbox/neibu.php?url=",
|
||||
"ext": {
|
||||
"flag": [
|
||||
"qq",
|
||||
@@ -1781,28 +1805,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "至尊",
|
||||
"name": "HGvip",
|
||||
"type": 1,
|
||||
"url": "http://154.9.253.211:777/api/?key=tizaOMgxmM5q9aEh6Y&url=",
|
||||
"url": "http://1.94.221.189:88/algorithm.php?url=",
|
||||
"ext": {
|
||||
"flag": [
|
||||
"qq",
|
||||
"腾讯",
|
||||
"qiyi",
|
||||
"爱奇艺",
|
||||
"奇艺",
|
||||
"youku",
|
||||
"优酷",
|
||||
"sohu",
|
||||
"搜狐",
|
||||
"letv",
|
||||
"乐视",
|
||||
"mgtv",
|
||||
"芒果",
|
||||
"tnmb",
|
||||
"seven",
|
||||
"bilibili",
|
||||
"1905"
|
||||
"hgvip"
|
||||
],
|
||||
"header": {
|
||||
"User-Agent": "okhttp/4.9.1"
|
||||
@@ -1820,6 +1828,22 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "无双",
|
||||
"type": 0,
|
||||
"url": " http://103.117.123.193:1980/players/?url=",
|
||||
"ext": {
|
||||
"flag": [
|
||||
"mgtv",
|
||||
"芒果",
|
||||
"RY",
|
||||
"VIP线路"
|
||||
],
|
||||
"header": {
|
||||
"User-Agent": "okhttp/4.9.1"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "线路1",
|
||||
"type": 0,
|
||||
|
||||
Reference in New Issue
Block a user