mirror of
https://github.com/qist/tvbox.git
synced 2025-01-24 02:47:32 +08:00
fix
This commit is contained in:
parent
ae11061b98
commit
485a5a3afd
90
js/jp.js
Normal file
90
js/jp.js
Normal file
@ -0,0 +1,90 @@
|
||||
var rule = {
|
||||
title:'荐片',
|
||||
host:'http://api2.rinhome.com',
|
||||
// homeUrl:'https://yjpapipxblwdohpakljwg.hxhzs.com/api/tag/hand?code=unknown601193cf375db73d&channel=wandoujia',//网站的首页链接,用于分类获取和推荐获取
|
||||
homeUrl:'/api/tag/hand?code=unknown601193cf375db73d&channel=wandoujia',//网站的首页链接,用于分类获取和推荐获取
|
||||
// url:'/api/crumb/list?area=0&category_id=fyclass&page=fypage&type=0&limit=24&fyfilter',
|
||||
url:'/api/crumb/list?area=0&page=fypage&type=0&limit=24&fyfilter',
|
||||
class_name:'全部&电影&电视剧&动漫&综艺', // 筛选 /api/term/ad_fenlei?limit=10&page=1
|
||||
class_url:'0&1&2&3&4',
|
||||
detailUrl:'/api/node/detail?channel=wandoujia&token=&id=fyid',//二级详情拼接链接(json格式用)
|
||||
searchUrl:'/api/video/search?key=**&page=fypage',
|
||||
searchable:2,
|
||||
quickSearch:0,
|
||||
filterable:1,
|
||||
filter:{
|
||||
"0":[{"key":"year","name":"年代","value":[{"n":"全部","v":"0"},{"n":"2023","v":"153"},{"n":"2022","v":"101"},{"n":"2021","v":"118"},{"n":"2020","v":"16"},{"n":"2019","v":"7"},{"n":"2018","v":"2"},{"n":"2017","v":"3"},{"n":"2016","v":"22"}]},{"key":"sort","name":"排序","value":[{"n":"热门","v":"hot"},{"n":"评分","v":"rating"},{"n":"更新","v":"update"}]}],
|
||||
"1":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"1"},{"n":"首推","v":"5"},{"n":"动作","v":"6"},{"n":"喜剧","v":"7"},{"n":"战争","v":"8"},{"n":"恐怖","v":"9"},{"n":"剧情","v":"10"},{"n":"爱情","v":"11"},{"n":"科幻","v":"12"},{"n":"动画","v":"13"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":"0"},{"n":"2023","v":"153"},{"n":"2022","v":"101"},{"n":"2021","v":"118"},{"n":"2020","v":"16"},{"n":"2019","v":"7"},{"n":"2018","v":"2"},{"n":"2017","v":"3"},{"n":"2016","v":"22"}]},{"key":"sort","name":"排序","value":[{"n":"热门","v":"hot"},{"n":"评分","v":"rating"},{"n":"更新","v":"update"}]}],
|
||||
"2":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"2"},{"n":"首推","v":"14"},{"n":"国产","v":"15"},{"n":"港台","v":"16"},{"n":"日韩","v":"17"},{"n":"海外","v":"18"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":"0"},{"n":"2023","v":"153"},{"n":"2022","v":"101"},{"n":"2021","v":"118"},{"n":"2020","v":"16"},{"n":"2019","v":"7"},{"n":"2018","v":"2"},{"n":"2017","v":"3"},{"n":"2016","v":"22"}]},{"key":"sort","name":"排序","value":[{"n":"热门","v":"hot"},{"n":"评分","v":"rating"},{"n":"更新","v":"update"}]}],
|
||||
"3":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"3"},{"n":"首推","v":"19"},{"n":"海外","v":"20"},{"n":"日本","v":"21"},{"n":"国产","v":"22"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":"0"},{"n":"2023","v":"153"},{"n":"2022","v":"101"},{"n":"2021","v":"118"},{"n":"2020","v":"16"},{"n":"2019","v":"7"},{"n":"2018","v":"2"},{"n":"2017","v":"3"},{"n":"2016","v":"22"}]},{"key":"sort","name":"排序","value":[{"n":"热门","v":"hot"},{"n":"评分","v":"rating"},{"n":"更新","v":"update"}]}],
|
||||
"4":[{"key":"cateId","name":"分类","value":[{"n":"全部","v":"4"},{"n":"首推","v":"23"},{"n":"国产","v":"24"},{"n":"海外","v":"25"},{"n":"港台","v":"26"}]},{"key":"year","name":"年代","value":[{"n":"全部","v":"0"},{"n":"2023","v":"153"},{"n":"2022","v":"101"},{"n":"2021","v":"118"},{"n":"2020","v":"16"},{"n":"2019","v":"7"},{"n":"2018","v":"2"},{"n":"2017","v":"3"},{"n":"2016","v":"22"}]},{"key":"sort","name":"排序","value":[{"n":"热门","v":"hot"},{"n":"评分","v":"rating"},{"n":"更新","v":"update"}]}]
|
||||
},
|
||||
// filter_url:'sort={{fl.sort or "hot"}}&year={{fl.year or "0"}}',
|
||||
filter_url:'sort={{fl.sort or "update"}}&year={{fl.year or "0"}}&category_id={{fl.cateId}}',
|
||||
filter_def:{
|
||||
0:{cateId:'0'},
|
||||
1:{cateId:'1'},
|
||||
2:{cateId:'2'},
|
||||
3:{cateId:'3'},
|
||||
4:{cateId:'4'}
|
||||
},
|
||||
headers:{
|
||||
'User-Agent':'jianpian-android/350',
|
||||
'JPAUTH':'y261ow7kF2dtzlxh1GS9EB8nbTxNmaK/QQIAjctlKiEv'
|
||||
},
|
||||
timeout:5000,
|
||||
limit:8,
|
||||
play_parse:true,
|
||||
play_json:[{
|
||||
re:'*',
|
||||
json:{
|
||||
parse:0,
|
||||
jx:0
|
||||
}
|
||||
}],
|
||||
lazy:'',
|
||||
// double:true,
|
||||
图片来源:'@Referer=www.jianpianapp.com@User-Agent=jianpian-version353',
|
||||
// 推荐:'json:data;room;*;cover;*;*',
|
||||
推荐:'json:.video;*;*;*;*',
|
||||
一级:'json:data;title;path;playlist.title;id',
|
||||
二级:{
|
||||
// title:'data.title',
|
||||
title:'data.title;data.types[0].name',
|
||||
// desc:';data.description;data.id',
|
||||
desc:'data.score;data.year.title;data.area.title;data.actors[0].name;data.directors[0].name',
|
||||
img:'data.thumbnail',
|
||||
// content:'data.thumbnail',
|
||||
content:'data.description',
|
||||
is_json:1,
|
||||
tabs:`js:
|
||||
TABS = [];
|
||||
if (html.data.have_ftp_ur == 1) {
|
||||
TABS.push("边下边播超清版")
|
||||
}
|
||||
if (html.data.have_m3u8_ur == 1) {
|
||||
TABS.push("在线点播普清版")
|
||||
}
|
||||
`,
|
||||
lists:`js:
|
||||
log(TABS);
|
||||
LISTS = [];
|
||||
TABS.forEach(function(tab) {
|
||||
if (/边下边播/.test(tab)) {
|
||||
let ftp = html.data.new_ftp_list;
|
||||
let d = ftp.map(function(it) {
|
||||
return it.title + "$" + (/m3u8/.test(it.url) ? play_url + it.url : "tvbox-xg:" + it.url)
|
||||
});
|
||||
LISTS.push(d)
|
||||
} else if (/在线点播/.test(tab)) {
|
||||
let m3u = html.data.new_m3u8_list;
|
||||
let d = m3u.map(function(it) {
|
||||
return it.title + "$" + (/m3u8/.test(it.url) ? play_url + it.url : "tvbox-xg:" + it.url)
|
||||
});
|
||||
LISTS.push(d)
|
||||
}
|
||||
});
|
||||
`,
|
||||
},
|
||||
搜索:'json:data;*;thumbnail;mask;*',
|
||||
}
|
18
jsm.json
18
jsm.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"spider":"./jar/fty.jar;md5;4d1c769684cc9b85f8adf54f8b43abb6",
|
||||
"spider":"./jar/tvbox.txt;md5;c80207edebbe5019a688fd2eb653e005",
|
||||
"lives":[{"name":"live","type":0,"url":"./tvboxtv.txt","playerType":1,"epg":"http://epg.112114.xyz/?ch={name}&date={date}","logo": "https://epg.112114.xyz/logo/{name}.png"}],
|
||||
"wallpaper":"https://tool.weetai.cn/api",
|
||||
"sites":[
|
||||
@ -22,7 +22,23 @@
|
||||
{"key":"drpy_js_ikanbot3","name":"影视 | 爱看机器人3[js]","type":3,"api":"./lib/drpy2.min.js","searchable":1,"quickSearch":1,"changeable":1,"ext":"./js/ikanbot3.js"},
|
||||
{"key":"drpy_js_荐片","name":"影视 | 荐片[js]","type":3,"api":"./lib/drpy2.min.js","searchable":1,"quickSearch":1,"changeable":1,"ext":"./js/荐片.js", "timeout":30},
|
||||
{"key":"drpy_js_酷云77","name":"影视 | 酷云77[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/酷云77.js"},
|
||||
{"key": "新6V","name": "🧲新6V磁力┃慎用","type": 3,"api": "csp_SixV","searchable": 1,"quickSearch": 1,"changeable": 0,"ext": "http://www.xb6v.com/"},
|
||||
{"key": "哈喽","name": "✌哈喽┃App","type": 3,"api": "csp_AppYsV2","searchable": 1,"quickSearch": 1,"changeable": 1,"ext": "http://www.miniku.cc/xgapp.php/v1/"},
|
||||
{"key":"贱贱", "name":"🐭贱贱┃p2p","type": 3,"searchable": 1,"quickSearch": 1,"changeable": 1,"playerType": "1","api": "./lib/drpy1.min.js","ext": "./js/jp.js"},
|
||||
{"key": "Vofl","name": "🎈VOF┃直连","type": 3,"api": "csp_Voflix","searchable": 1,"quickSearch": 1,"changeable": 1},
|
||||
{"key": "77","name": "影视 | 酷云77[app]","type":3,"api":"csp_Kunyu77","searchable": 1,"quickSearch": 1,"changeable": 1},
|
||||
{"key": "Lib","name": "🌟利播┃直连","type": 3,"api": "csp_Libvio","searchable": 1,"quickSearch": 1,"changeable": 1,"ext": "https://www.libvio.fun/"},
|
||||
{"key": "Xinsj","name": "👓视觉┃直连","type": 3,"api": "csp_Xinsj","searchable": 1,"quickSearch": 1,"changeable": 1,"ext": "https://www.6080yy3.com/"},
|
||||
{"key": "kuaikan","name": "👀快看┃App","type": 3,"api": "csp_Kuaikan","searchable": 1,"quickSearch": 1,"changeable": 1},
|
||||
{"key": "AppMr","name": "👻明明┃App","type": 3,"api": "csp_AppMr","searchable": 1,"quickSearch": 1,"changeable": 1},
|
||||
{"key": "YQKAPP","name": "🎉一起┃App","type": 3,"api": "csp_YQKAPP","playerType": 2,"searchable": 1,"quickSearch": 1,"changeable": 1,"ext": "https://api-aws.11ty.top"},
|
||||
{"key": "Cokemv","name": "📕可乐┃直连","type": 3,"api": "csp_Cokemv","playerType": 2,"searchable": 1,"quickSearch": 1,"changeable": 1},
|
||||
{"key": "csp_Nmys","name": "🌾农民┃直连","type": 3,"api": "csp_Nmys","searchable": 1,"quickSearch": 1,"changeable": 1,"ext": "./json/nmys.json"},
|
||||
{"key": "csp_Ysgc","name": "🏭工场┃直连","type": 3,"api": "csp_Ysgc","searchable": 1,"quickSearch": 1,"changeable": 1,"ext": "https://www.ysgc1.cc/"},
|
||||
{"key": "csp_SP33","name": "📺三三┃解析","type": 3,"api": "csp_SP33","searchable": 1,"quickSearch": 1,"filterable": 1,"changeable": 0},
|
||||
{"key": "Qtv","name": "🐧腾腾┃解析","type": 3,"api": "csp_Qtv","searchable": 1,"quickSearch": 1,"filterable": 1,"changeable": 0},
|
||||
{"key": "Itv","name": "🥝爱爱┃解析","type": 3,"api": "csp_Itv","quickSearch": 1,"searchable": 1,"filterable": 1,"changeable": 0},
|
||||
{"key": "Mtv","name": "🍋芒芒┃解析","type": 3,"api": "csp_Mtv","searchable": 1,"quickSearch": 1,"filterable": 1,"changeable": 0},
|
||||
{"key":"drpy_js_快看","name":"影视 | 快看[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/快看.js"},
|
||||
{"key":"drpy_js_爱看","name":"影视 | 爱看[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/爱看.js"},
|
||||
{"key":"drpy_js_低端","name":"影视 | 低端[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/ddys_d.js"},
|
||||
|
1
lib/drpy1.min.js
vendored
Normal file
1
lib/drpy1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user