mirror of
https://github.com/ls125781003/tvboxtg.git
synced 2025-10-28 12:22:16 +00:00
Pending changes exported from your codespace
This commit is contained in:
38
肥猫/api.json
38
肥猫/api.json
@@ -40,13 +40,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "追剧",
|
||||
"name": "⭐|追更|专区",
|
||||
"type": 3,
|
||||
"api": "./api/9121b57512b75f996d3122a424b04355.js",
|
||||
"ext": "./txt/b274f252614cde727532dee18088c64e.txt"
|
||||
},
|
||||
{
|
||||
"key": "csp_SuBaiBai",
|
||||
"name": "🏳️┃素白┃影视",
|
||||
@@ -60,6 +53,20 @@
|
||||
"type": 3,
|
||||
"api": "csp_Jpyy"
|
||||
},
|
||||
{
|
||||
"key": "csp_Nongm",
|
||||
"name": "🌾️┃农民┃影视",
|
||||
"type": 3,
|
||||
"api": "csp_Nongm",
|
||||
"ext": "https://wwgz.cn"
|
||||
},
|
||||
{
|
||||
"key": "csp_Nongm",
|
||||
"name": "🕵️┃忍者┃影视",
|
||||
"type": 3,
|
||||
"api": "csp_AppRZ",
|
||||
"ext": "http://rzys.xyz/"
|
||||
},
|
||||
{
|
||||
"key": "csp_Netfixtv",
|
||||
"name": "💌┃至臻┃影视",
|
||||
@@ -231,7 +238,7 @@
|
||||
"name": "📚┃有声┃小说",
|
||||
"type": 3,
|
||||
"playerType": "2",
|
||||
"api": "csp_YouShengBook",
|
||||
"api": "csp_LaoBaiBook",
|
||||
"searchable": 0,
|
||||
"style": {
|
||||
"type": "rect",
|
||||
@@ -336,6 +343,19 @@
|
||||
"quickSearch": 0,
|
||||
"ext": "./js/短视频.js"
|
||||
},
|
||||
{
|
||||
"key": "看球",
|
||||
"name": "⚾┃看球┃直播",
|
||||
"type": 3,
|
||||
"api": "csp_Kanqiu",
|
||||
"searchable": 1,
|
||||
"quickSearch": 1,
|
||||
"changeable": 0,
|
||||
"gridview": 3,
|
||||
"style": {
|
||||
"type": "list"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "drpy_js_310直播",
|
||||
"name": "🏀┃体育┃直播",
|
||||
@@ -509,7 +529,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"lives": [
|
||||
"lives": [
|
||||
{"name":"TV直播","type":0,"url":"https://tv.iill.top/m3u/Gather","ua":"okhttp/3.15","playerType":2},
|
||||
{"name":"平台直播","type":0,"url":"https://tv.iill.top/m3u/Live","ua":"okhttp/3.15","playerType":2},
|
||||
{"name":"体育直播","type":0,"url":"https://tv.iill.top/m3u/Sport","ua":"okhttp/3.15","playerType":2}
|
||||
|
||||
@@ -1,115 +0,0 @@
|
||||
let sourceUrl = "";
|
||||
let sourceData = {};
|
||||
|
||||
function request(url) {
|
||||
const resp = req(url, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36'
|
||||
}
|
||||
});
|
||||
return resp.content;
|
||||
}
|
||||
|
||||
function init(ext) {
|
||||
if (ext && ext.indexOf('http') == 0) {
|
||||
sourceUrl = ext;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function home(filter) {
|
||||
console.log('sourceUrl: ' + sourceUrl);
|
||||
if (sourceUrl.indexOf('http') < 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const classes = [];
|
||||
sourceData = {};
|
||||
|
||||
let className = '网盘分享⭐不怕墙';
|
||||
const text = request(sourceUrl);
|
||||
for (let line of text.split('\n')) {
|
||||
line = line.trim().replace(/[,\s$]+/g, ',');
|
||||
const position = line.indexOf(',');
|
||||
if (position < 0 && line.indexOf('##') == 0) {
|
||||
className = line.substring(2).trim();
|
||||
} else if (position > 1) {
|
||||
const name = line.substring(0, position).trim();
|
||||
let url = line.substring(position + 1).trim();
|
||||
|
||||
let panName = '';
|
||||
switch (url.split('://')[0]) {
|
||||
case 'ali':
|
||||
url = 'push://https://www.alipan.com/s/' + url.substring(6);
|
||||
panName = '阿里';
|
||||
break;
|
||||
case 'uc':
|
||||
url = 'push://https://drive.uc.cn/s/' + url.substring(5);
|
||||
panName = 'UC';
|
||||
break;
|
||||
case 'quark':
|
||||
url = 'push://https://pan.quark.cn/s/' + url.substring(8);
|
||||
panName = '夸克';
|
||||
break;
|
||||
case 'https':
|
||||
if (url.indexOf('alipan.com') > 0) {
|
||||
url = 'push://' + url;
|
||||
panName = '阿里';
|
||||
} else if (url.indexOf('uc.cn') > 0) {
|
||||
url = 'push://' + url;
|
||||
panName = 'UC';
|
||||
} else if (url.indexOf('quark.cn') > 0) {
|
||||
url = 'push://' + url;
|
||||
panName = '夸克';
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!(className in sourceData)) {
|
||||
classes.push({
|
||||
'type_id': className,
|
||||
'type_name': className,
|
||||
"type_flag": "1"
|
||||
});
|
||||
sourceData[className] = [];
|
||||
}
|
||||
|
||||
sourceData[className].push({
|
||||
'vod_id': url,
|
||||
'vod_name': name,
|
||||
'vod_pic': '',
|
||||
'vod_remarks': panName
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return JSON.stringify({
|
||||
'class': classes,
|
||||
'filters': null,
|
||||
'type_flag': '1'
|
||||
});
|
||||
}
|
||||
|
||||
function category(tid, pg, filter, extend) {
|
||||
return JSON.stringify({
|
||||
'page': 1,
|
||||
'pagecount': 1,
|
||||
'list': sourceData[tid],
|
||||
'type_des': ''
|
||||
});
|
||||
}
|
||||
|
||||
__JS_SPIDER__ = {
|
||||
init: init,
|
||||
home: home,
|
||||
homeVod: null,
|
||||
category: category,
|
||||
detail: null,
|
||||
play: null,
|
||||
search: null
|
||||
};
|
||||
@@ -1,50 +0,0 @@
|
||||
✰━━✅追电视━━━━━━━━━✰$https://pan.quark.cn/s/607b862dc65b
|
||||
|
||||
▽西北岁月$https://pan.quark.cn/s/01a3fb718d67
|
||||
▽永夜星河$https://pan.quark.cn/s/de28028e5fa1
|
||||
▽珠帘玉幕$https://pan.quark.cn/s/c2056ca40473
|
||||
▽小巷人家$https://pan.quark.cn/s/38a4e745064e
|
||||
▽好团圆$https://pan.quark.cn/s/9bc751387e6b
|
||||
▽大梦归离$https://pan.quark.cn/s/c707ba423a32
|
||||
▽黑白诀$https://pan.quark.cn/s/41a918e11833
|
||||
▽春花焰$https://pan.quark.cn/s/0c5f6295abb1
|
||||
▽巾帼枭雄之悬崖$https://pan.quark.cn/s/261e4d677572
|
||||
▽锦绣安宁$https://pan.quark.cn/s/9b777fdffc39
|
||||
▽上甘岭$https://pan.quark.cn/s/0a28f0088abd
|
||||
▽你的谎言也动听$https://pan.quark.cn/s/e623bd606f51
|
||||
▽双重任务$https://pan.quark.cn/s/63b9f3c3ee30
|
||||
▽人民警察$https://pan.quark.cn/s/ee3b1d22b72a
|
||||
|
||||
|
||||
✰━━✅追电影━━━━━━━━━✰$https://pan.quark.cn/s/607b862dc65b
|
||||
|
||||
○黑白有界$https://pan.quark.cn/s/834c25766faa
|
||||
○逆鳞$https://pan.quark.cn/s/27b7c9fbcb50
|
||||
○爆款好人$https://pan.quark.cn/s/c34a4a7bc1f6
|
||||
○祝你幸福$https://pan.quark.cn/s/2d011177b807
|
||||
○黄飞鸿之铁血十三姨$https://pan.quark.cn/s/6d8cc4186fdc
|
||||
○守龙者$https://pan.quark.cn/s/a9bbca2dc8f8
|
||||
○保镖$https://pan.quark.cn/s/35fa3497605
|
||||
○盐湖计划$https://pan.quark.cn/s/577e52ad338e
|
||||
○黑雀特工$https://pan.quark.cn/s/d7944d68b9f6
|
||||
|
||||
|
||||
✰━━✅追动漫━━━━━━━━━✰$https://pan.quark.cn/s/607b862dc65b
|
||||
|
||||
△伍六七之记忆碎片$https://pan.quark.cn/s/cea96dfbe027
|
||||
△一念永恒第3季$https://pan.quark.cn/s/544e6323ce2b
|
||||
△遮天$https://pan.quark.cn/s/2a46a7d547bf
|
||||
△吞噬星空$https://pan.quark.cn/s/c14e58c0ffc3
|
||||
△仙逆$https://pan.quark.cn/s/9dc0e6b2a8cc
|
||||
△斗破苍穹年番$https://pan.quark.cn/s/9dd0f558dcc8
|
||||
△斗罗大陆Ⅱ绝世唐门$https://pan.quark.cn/s/5c03b1d38996
|
||||
△剑来$https://pan.quark.cn/s/5e2a30068b4a
|
||||
△徒弟个个是大佬$https://pan.quark.cn/s/3428e6ee6412
|
||||
△牧神记$https://pan.quark.cn/s/7aa4a6092088
|
||||
△我能无限顿悟$https://pan.quark.cn/s/289d255a7444
|
||||
△虎鹤妖师录$https://pan.quark.cn/s/deadd1b4d56e
|
||||
△神武天尊$https://pan.quark.cn/s/a387ed805ac9
|
||||
△神墓$https://pan.quark.cn/s/91108f4cdb27
|
||||
△我的微信通龙宫$https://pan.quark.cn/s/a053897bd4eb
|
||||
△都市古仙医$https://pan.quark.cn/s/6d28d906721b
|
||||
△仙武传$https://pan.quark.cn/s/fa78e1efced8
|
||||
Reference in New Issue
Block a user