mirror of
https://github.com/qist/tvbox.git
synced 2025-02-02 10:14:50 +08:00
Add files via upload
This commit is contained in:
parent
e07fabfcc8
commit
fa33bc54b9
33
js/100影院.js
33
js/100影院.js
File diff suppressed because one or more lines are too long
58
js/348电影网.js
58
js/348电影网.js
File diff suppressed because one or more lines are too long
51
js/88看球.js
51
js/88看球.js
@ -1,21 +1,30 @@
|
||||
var rule = {
|
||||
title:'88看球',
|
||||
host:'http://www.88kanqiu.cc',
|
||||
url:'/match/fyclass/live',
|
||||
searchUrl:'',
|
||||
searchable:0,
|
||||
quickSearch:0,
|
||||
class_parse:'.nav-pills li;a&&Text;a&&href;/match/(\\d+)/live',
|
||||
headers:{
|
||||
'User-Agent':'PC_UA'
|
||||
},
|
||||
timeout:5000,
|
||||
play_parse:true,
|
||||
lazy:'',
|
||||
limit:6,
|
||||
double:false,
|
||||
推荐:'*',
|
||||
一级:'.list-group .group-game-item;.d-none&&Text;img&&src;.btn&&Text;a&&href',
|
||||
二级:{title:'.game-info-container&&Text;.customer-navbar-nav li&&Text',img:'img&&src',desc:';;;div.team-name:eq(0)&&Text;div.team-name:eq(1)&&Text',content:'div.game-time&&Text',tabs:'',tab_text:'',lists:'.btn-group a',list_text:'a&&Text',list_url:'a&&href'},
|
||||
搜索:'',
|
||||
}
|
||||
var rule = {
|
||||
title:'88看球',
|
||||
// host:'http://www.88kanqiu.cc',
|
||||
host:'http://www.88kanqiu.live',
|
||||
url:'/match/fyclass/live',
|
||||
searchUrl:'',
|
||||
searchable:0,
|
||||
quickSearch:0,
|
||||
class_parse:'.nav-pills li;a&&Text;a&&href;/match/(\\d+)/live',
|
||||
headers:{
|
||||
'User-Agent':'PC_UA'
|
||||
},
|
||||
timeout:5000,
|
||||
play_parse:true,
|
||||
lazy:'',
|
||||
limit:6,
|
||||
double:false,
|
||||
推荐:'*',
|
||||
一级:'.list-group .group-game-item;.d-none&&Text;img&&src;.btn&&Text;a&&href',
|
||||
二级:{
|
||||
"title":".game-info-container&&Text;.customer-navbar-nav li&&Text",
|
||||
"img":"img&&src",
|
||||
"desc":";;;div.team-name:eq(0)&&Text;div.team-name:eq(1)&&Text",
|
||||
"content":"div.game-time&&Text",
|
||||
"tabs":"js:TABS=['88看球']",
|
||||
// "lists":"js:LISTS=[];input=input+'-url';let html=request(input);let data=JSON.parse(html);TABS.forEach(function(tab){let m3u=data;let d=m3u.map(function(it){return it.name+'$'+play_url+it.url});LISTS.push(d)});"
|
||||
"lists":"js:LISTS=[];input=input+'-url';let html=request(input);let data=JSON.parse(html);TABS.forEach(function(tab){let m3u=data;let d=m3u.map(function(it){return it.name+'$'+it.url});LISTS.push(d)});"
|
||||
},
|
||||
搜索:'',
|
||||
}
|
||||
|
16
js/AnFuns.js
16
js/AnFuns.js
@ -1,11 +1,13 @@
|
||||
muban.海螺3.二级.desc = '.hl-text-conch&&Text';
|
||||
var rule = Object.assign(muban.海螺3,{
|
||||
muban.海螺3.二级.desc = '.hl-col-xs-12:eq(2)&&Text;.hl-col-xs-12.hl-col-sm-4:(0)&&Text;.hl-col-xs-12.hl-col-sm-4:(1)&&Text;.hl-col-xs-12:eq(3)&&Text;.hl-col-xs-12:eq(4)&&Text';
|
||||
var rule = {
|
||||
title:'AnFuns动漫',
|
||||
模板:'海螺3',
|
||||
host:'https://www.anfuns.cc',
|
||||
cate_exclude: '最新|排行',
|
||||
url:'/type/fyclass-fypage.html',
|
||||
// url:'/type/fyclass-fypage.html',
|
||||
url:'/show/fyclassfyfilter/page/fypage.html',
|
||||
filterable:1,//是否启用分类筛选,
|
||||
filter_url:'---{{fl.year}}{{fl.by}}',
|
||||
filter: {"1":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"/by/time"},{"n":"最热","v":"/by/hits"},{"n":"评分","v":"/by/score"}]}],"2":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"/by/time"},{"n":"最热","v":"/by/hits"},{"n":"评分","v":"/by/score"}]}],"3":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"/by/time"},{"n":"最热","v":"/by/hits"},{"n":"评分","v":"/by/score"}]}],"4":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"2009","v":"2009"},{"n":"2008","v":"2008"},{"n":"2007","v":"2007"},{"n":"2006","v":"2006"},{"n":"2005","v":"2005"},{"n":"2004","v":"2004"},{"n":"2003","v":"2003"},{"n":"2002","v":"2002"},{"n":"2001","v":"2001"},{"n":"2000","v":"2000"}]},{"key":"by","name":"排序","value":[{"n":"最新","v":"/by/time"},{"n":"最热","v":"/by/hits"},{"n":"评分","v":"/by/score"}]}]},
|
||||
searchUrl:'/search/page/fypage/wd/**.html',
|
||||
headers:{//网站的请求头,完整支持所有的,常带ua和cookies
|
||||
'User-Agent':'MOBILE_UA',
|
||||
"Cookie": "searchneed=ok"},
|
||||
});
|
||||
}
|
34
js/Auete.js
Normal file
34
js/Auete.js
Normal file
@ -0,0 +1,34 @@
|
||||
// 有搜索验证
|
||||
var rule = {
|
||||
title:'Auete',
|
||||
host:'https://auete.com',
|
||||
// url:'/fyclassfyfilter/indexfypage.html[/fyclassfyfilter/index.html]',
|
||||
url:'/fyclassfyfilter/indexfypage.html[/fyclassfyfilter/index.html]',
|
||||
filterable:1,//是否启用分类筛选,
|
||||
filter_url:'{{fl.class}}',
|
||||
filter: {"Movie":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"喜剧片","v":"/xjp"},{"n":"动作片","v":"/dzp"},{"n":"爱情片","v":"/aqp"},{"n":"科幻片","v":"/khp"},{"n":"恐怖片","v":"/kbp"},{"n":"惊悚片","v":"/jsp"},{"n":"战争片","v":"/zzp"},{"n":"剧情片","v":"/jqp"}]}],"Tv":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"美剧","v":"/oumei"},{"n":"韩剧","v":"/hanju"},{"n":"日剧","v":"/riju"},{"n":"泰剧","v":"/yataiju"},{"n":"网剧","v":"/wangju"},{"n":"台剧","v":"/taiju"},{"n":"国产","v":"/neidi"},{"n":"港剧","v":"/tvbgj"},{"n":"英剧","v":"/yingju"}]}],"Zy":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"国综","v":"/guozong"},{"n":"韩综","v":"/hanzong"},{"n":"美综","v":"/meizong"}]}],"Dm":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"动画","v":"/donghua"},{"n":"日漫","v":"/riman"},{"n":"国漫","v":"/guoman"},{"n":"美漫","v":"/meiman"}]}],"qita":[{"key":"class","name":"剧情","value":[{"n":"全部","v":""},{"n":"记录片","v":"/Jlp"},{"n":"经典片","v":"/Jdp"},{"n":"经典剧","v":"/Jdj"},{"n":"网大电影","v":"/wlp"},{"n":"国产老电影","v":"/laodianying"}]}]},
|
||||
searchUrl:'/search.php?searchword=**',
|
||||
searchable:2,//是否启用全局搜索,
|
||||
quickSearch:0,//是否启用快速搜索,
|
||||
headers:{
|
||||
'User-Agent':'PC_UA',
|
||||
},
|
||||
class_parse:'.mr-auto li:gt(0):lt(6);a&&Text;a&&href;/(\\w+)/index.html',
|
||||
// class_name:'电影&电视剧&综艺&动漫&其他',
|
||||
// class_url:'Movie&Tv&Zy&Dm&qita',
|
||||
play_parse:true,
|
||||
lazy:'',
|
||||
limit:6,
|
||||
推荐:'*',
|
||||
一级:'.threadlist .trans_3;.title&&Text;.lazy&&src;.hdtag&&Text;a&&href',
|
||||
二级:{
|
||||
"title":".cover a&&title;.message p:eq(7)&&Text",
|
||||
"img":".cover img&&src",
|
||||
"desc":".w-100&&Text;.message p:eq(10)&&Text;.message p:eq(9)&&Text;.message p:eq(6)&&Text;.message p:eq(4)&&Text",
|
||||
"content":".message p:eq(-1)&&Text",
|
||||
"tabs":"#player_list h2",
|
||||
"tab_text":"h2--span&&Text",
|
||||
"lists":"#player_list:eq(#id) li"
|
||||
},
|
||||
搜索:'.card-body .media;.text-danger&&Text;;.data&&Text;a&&href',
|
||||
}
|
17
js/IMAX影视.js
Normal file
17
js/IMAX影视.js
Normal file
File diff suppressed because one or more lines are too long
@ -11,7 +11,7 @@
|
||||
|
||||
var rule = {
|
||||
title:'JRKAN直播',
|
||||
host:'http://m.jrkan365.com',
|
||||
host:'http://m.jrkan2023.com',
|
||||
// JRKAN备用域名:m.jrskan8.com / m.jrkan666.com / jryyds.com / jrsbxj.com
|
||||
// JRKAN网址发布:qiumi1314.com
|
||||
url:'/fyclass',
|
||||
|
37
js/NY影院.js
37
js/NY影院.js
File diff suppressed because one or more lines are too long
148
js/alist.json
148
js/alist.json
@ -1,127 +1,21 @@
|
||||
[
|
||||
{
|
||||
"name" : "🙋丫仙女",
|
||||
"server" : "http://alist.xiaoya.pro",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🌤晴园的宝藏库",
|
||||
"server" : "https://alist.52qy.repl.co",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🐭米奇妙妙屋",
|
||||
"server" : "https://anime.mqmmw.ga",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "💂小兵组网盘影视",
|
||||
"server" : "https://6vv.app",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🐋一只鱼",
|
||||
"server" : "https://alist.youte.ml",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🌊七米蓝",
|
||||
"server" : "https://al.chirmyram.com",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🥼帅盘",
|
||||
"server" : "https://hi.shuaipeng.wang",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🐉神族九帝",
|
||||
"server" : "https://alist.shenzjd.com",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "☃️姬路白雪",
|
||||
"server" : "https://pan.jlbx.xyz",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🎧听闻网盘",
|
||||
"server" : "https://wangpan.sangxuesheng.com",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "💾DISK",
|
||||
"server" : "http://124.222.140.243:8080",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🌨云播放",
|
||||
"server" : "https://quanzi.laoxianghuijia.cn",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "✨星梦",
|
||||
"server" : "https://pan.bashroot.top",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "💫触光",
|
||||
"server" : "https://pan.ichuguang.com",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🕵️好汉吧",
|
||||
"server" : "https://8023.haohanba.cn",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "💢repl",
|
||||
"server" : "https://ali.liucn.repl.co",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "🌨秋雨分享",
|
||||
"server" : "https://share.laowang.me",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
},
|
||||
{
|
||||
"name" : "💦讯维云盘",
|
||||
"server" : "https://pan.xwbeta.com",
|
||||
"startPage" : "/",
|
||||
"showAll" : false,
|
||||
"search" : true
|
||||
}]
|
||||
{
|
||||
"小江": "https://dyj.me",
|
||||
"小鴨": "http://43.139.29.179:5244",
|
||||
"帥鵬": "https://hi.shuaipeng.wang",
|
||||
"星夢": "https://pan.bashroot.top",
|
||||
"晴園": "https://alist.52qy.repl.co",
|
||||
"梓澪": "https://zi0.cc",
|
||||
"秋雨": "https://share.laowang.me",
|
||||
"米奇": "https://anime.mqmmw.ga",
|
||||
"菊花": "https://pan.142856.xyz",
|
||||
"觸光": "https://pan.ichuguang.com",
|
||||
"一只魚": "https://alist.youte.ml",
|
||||
"七米藍": "https://al.chirmyram.com",
|
||||
"浩瀚吧": "https://8023.haohanba.cn",
|
||||
"雲播放": "https://quanzi.laoxianghuijia.cn",
|
||||
"姬路白雪": "https://pan.jlbx.xyz",
|
||||
"神族九帝": "https://alist.shenzjd.com",
|
||||
"資源小站": "https://960303.xyz",
|
||||
"輕彈淺唱": "https://g.xiang.lol",
|
||||
"Disk": "http://124.222.140.243:8080"
|
||||
}
|
@ -4,18 +4,6 @@
|
||||
"name": "歐逼",
|
||||
"server": "https://alistcn.repl.co"
|
||||
},
|
||||
{
|
||||
"name": "文文",
|
||||
"server": " http://518p8g7316.goho.co:5244"
|
||||
},
|
||||
{
|
||||
"name": "家庭",
|
||||
"server": "http://cqcio.tpddns.cn:888/2022年电影"
|
||||
},
|
||||
{
|
||||
"name": "小兵",
|
||||
"server": "https://6vv.app"
|
||||
},
|
||||
{
|
||||
"name": "小雅",
|
||||
"server": "http://alist.xiaoya.pro"
|
||||
|
226
js/kunyu77.js
Normal file
226
js/kunyu77.js
Normal file
@ -0,0 +1,226 @@
|
||||
import './dayjs.min.js'
|
||||
import './uri.min.js';
|
||||
import './crypto-js.js'
|
||||
import _ from './underscore-esm-min.js'
|
||||
|
||||
let key = 'kunyu77';
|
||||
let url = 'http://api.kunyu77.com';
|
||||
let agent = 'Dalvik/2.1.0 (Linux; U; Android 6.0; ZTE BA520 Build/MRA58K)';
|
||||
let deviceId = '';
|
||||
let timeOffset = 0;
|
||||
|
||||
var charStr = 'abacdefghjklmnopqrstuvwxyzABCDEFGHJKLMNOPQRSTUVWXYZ0123456789';
|
||||
|
||||
function randIndex(min, max, i) {
|
||||
let index = Math.floor(Math.random() * (max - min + 1) + min),
|
||||
numStart = charStr.length - 10;
|
||||
if (i == 0 && index >= numStart) {
|
||||
index = randIndex(min, max, i);
|
||||
}
|
||||
return index;
|
||||
}
|
||||
|
||||
function randomStr(len) {
|
||||
let min = 0, max = charStr.length - 1, _str = '';
|
||||
len = len || 15;
|
||||
for (var i = 0, index; i < len; i++) {
|
||||
index = randIndex(min, max, i);
|
||||
_str += charStr[index];
|
||||
}
|
||||
return _str;
|
||||
}
|
||||
|
||||
function request(reqUrl) {
|
||||
let sj = dayjs().unix() - timeOffset;
|
||||
let uri = new Uri(reqUrl);
|
||||
uri.addQueryParam()
|
||||
uri.addQueryParam('pcode', '010110004')
|
||||
uri.addQueryParam('version', '2.0.4')
|
||||
uri.addQueryParam('devid', deviceId)
|
||||
uri.addQueryParam('package', 'com.sevenVideo.app.android')
|
||||
uri.addQueryParam('sys', 'android')
|
||||
uri.addQueryParam('sysver', '6.0')
|
||||
uri.addQueryParam('brand', 'ZTE')
|
||||
uri.addQueryParam('model', 'ZTE_BA520')
|
||||
uri.addQueryParam('sj', sj);
|
||||
let keys = [];
|
||||
for (var i = 0; i < uri.queryPairs.length; i++) {
|
||||
keys.push(uri.queryPairs[i][0]);
|
||||
}
|
||||
keys = _.sortBy(keys, function (name) { return name })
|
||||
let tkSrc = uri.path();
|
||||
for (let k of keys) {
|
||||
tkSrc += uri.getQueryParamValue(k);
|
||||
}
|
||||
tkSrc += sj;
|
||||
tkSrc += 'XSpeUFjJ';
|
||||
console.log(tkSrc);
|
||||
let tk = CryptoJS.MD5(tkSrc).toString().toLowerCase();
|
||||
console.log(tk);
|
||||
let header = {
|
||||
'user-agent': agent,
|
||||
't': sj,
|
||||
'TK': tk,
|
||||
};
|
||||
let res = req(uri.toString(), {
|
||||
headers: header
|
||||
});
|
||||
|
||||
let serverTime = res.headers.Date;
|
||||
let content = res.content;
|
||||
let serverTimeS = dayjs(serverTime).unix();
|
||||
timeOffset = dayjs().unix() - serverTimeS;
|
||||
// console.log(content);
|
||||
return content;
|
||||
}
|
||||
|
||||
function init(ext) {
|
||||
var device = local.get(key, 'device');
|
||||
if (device.length == 0) {
|
||||
device = randomStr(32).toLowerCase();
|
||||
local.set(key, 'device', device);
|
||||
}
|
||||
deviceId = device;
|
||||
console.log(dayjs().unix());
|
||||
}
|
||||
|
||||
function home(filter) {
|
||||
let data = JSON.parse(request(url + '/api.php/provide/filter')).data;
|
||||
let classes = [];
|
||||
for (const key in data) {
|
||||
classes.push({
|
||||
'type_id': key,
|
||||
'type_name': data[key][0].cat
|
||||
});
|
||||
}
|
||||
console.log(classes);
|
||||
return JSON.stringify({
|
||||
'class': classes
|
||||
});
|
||||
}
|
||||
|
||||
function homeVod(params) {
|
||||
let data = JSON.parse(request(url + '/api.php/provide/homeBlock?type_id=0')).data;
|
||||
let blocks = data.blocks;
|
||||
let videos = [];
|
||||
for (const block of blocks) {
|
||||
let name = block.block_name;
|
||||
if (name.indexOf('热播') >= 0)
|
||||
continue;
|
||||
let contents = block.contents;
|
||||
for (const content of contents) {
|
||||
videos.push({
|
||||
'vod_id': content.id,
|
||||
'vod_name': content.title,
|
||||
'vod_pic': content.videoCover,
|
||||
'vod_remarks': content.msg,
|
||||
})
|
||||
}
|
||||
}
|
||||
return JSON.stringify({
|
||||
'list': videos
|
||||
});
|
||||
}
|
||||
|
||||
function category(tid, pg, filter, extend) {
|
||||
let data = JSON.parse(request(url + '/api.php/provide/searchFilter?type_id=' + tid + '&pagenum=' + pg + '&pagesize=24')).data;
|
||||
let videos = []
|
||||
for (const vod of data.result) {
|
||||
videos.push({
|
||||
'vod_id': vod.id,
|
||||
'vod_name': vod.title,
|
||||
'vod_pic': vod.videoCover,
|
||||
'vod_remarks': vod.msg,
|
||||
});
|
||||
}
|
||||
return JSON.stringify({
|
||||
'page': parseInt(data.page),
|
||||
'pagecount': data.pagesize,
|
||||
'limit': 24,
|
||||
'total': data.total,
|
||||
'list': videos,
|
||||
});
|
||||
}
|
||||
|
||||
function detail(id) {
|
||||
let data = JSON.parse(request(url + '/api.php/provide/videoDetail?ids=' + id)).data;
|
||||
let vod = {
|
||||
'vod_id': data.id,
|
||||
'vod_name': data.videoName,
|
||||
'vod_pic': data.videoCover,
|
||||
'type_name': data.subCategory,
|
||||
'vod_year': data.year,
|
||||
'vod_area': data.area,
|
||||
'vod_remarks': data.msg,
|
||||
'vod_actor': data.actor,
|
||||
'vod_director': data.director,
|
||||
'vod_content': data.brief.trim(),
|
||||
}
|
||||
let episodes = JSON.parse(request(url + '/api.php/provide/videoPlaylist?ids=' + id)).data.episodes;
|
||||
let playlist = {};
|
||||
for (const episode of episodes) {
|
||||
let playurls = episode.playurls;
|
||||
for (const playurl of playurls) {
|
||||
let from = playurl.playfrom;
|
||||
if (!playlist.hasOwnProperty(from)) {
|
||||
playlist[from] = []
|
||||
}
|
||||
playlist[from].push(playurl.title.trim() + '$' + playurl.playurl);
|
||||
}
|
||||
}
|
||||
vod.vod_play_from = _.keys(playlist).join('$$$');
|
||||
let urls = _.values(playlist)
|
||||
let vod_play_url = []
|
||||
for (const urlist of urls) {
|
||||
vod_play_url.push(urlist.join('#'))
|
||||
}
|
||||
vod.vod_play_url = vod_play_url.join('$$$')
|
||||
return JSON.stringify({
|
||||
'list': [vod]
|
||||
});
|
||||
}
|
||||
|
||||
function play(flag, id, flags) {
|
||||
let data = JSON.parse(request(url + '/api.php/provide/parserUrl?url=' + id)).data;
|
||||
let playHeader = data.playHeader;
|
||||
let jxUrl = data.url;
|
||||
let jxData = JSON.parse(request(jxUrl));
|
||||
if (flags.indexOf(flag) >= 0) {
|
||||
return JSON.stringify({
|
||||
'parse': 1,
|
||||
'jx': 1,
|
||||
'url': id
|
||||
});
|
||||
} else {
|
||||
return JSON.stringify({
|
||||
'parse': 0,
|
||||
'url': id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function search(wd, quick) {
|
||||
let data = JSON.parse(request(url + '/api.php/provide/searchVideo?searchName=' + wd)).data;
|
||||
let videos = [];
|
||||
for (const vod of data) {
|
||||
videos.push({
|
||||
'vod_id': vod.id,
|
||||
'vod_name': vod.videoName,
|
||||
'vod_pic': vod.videoCover,
|
||||
'vod_remarks': vod.msg,
|
||||
})
|
||||
}
|
||||
return JSON.stringify({
|
||||
'list': videos
|
||||
});
|
||||
}
|
||||
|
||||
__JS_SPIDER__ = {
|
||||
init: init,
|
||||
home: home,
|
||||
homeVod: homeVod,
|
||||
category: category,
|
||||
detail: detail,
|
||||
play: play,
|
||||
search: search
|
||||
}
|
@ -43,5 +43,5 @@ var rule = {
|
||||
搜索:'',
|
||||
搜索:'js:let url1=input+"media_bangumi";let url2=input+"media_ft";let html=request(url1);let msg=JSON.parse(html).message;if(msg!=="0"){VODS=[{vod_name:KEY+"➢"+msg,vod_id:"no_data",vod_remarks:"别点,缺少bili_cookie",vod_pic:"https://ghproxy.com/https://raw.githubusercontent.com/hjdhnx/dr_py/main/404.jpg"}]}else{let jo1=JSON.parse(html).data;html=request(url2);let jo2=JSON.parse(html).data;let videos=[];let vodList=[];if(jo1["numResults"]===0){vodList=jo2["result"]}else if(jo2["numResults"]===0){vodList=jo1["result"]}else{vodList=jo1["result"].concat(jo2["result"])}vodList.forEach(function(vod){let aid=(vod["season_id"]+"").trim();let title=KEY+"➢"+vod["title"].trim().replace(\'<em class="keyword">\',"").replace("</em>","");let img=vod["cover"].trim();let remark=vod["index_show"];videos.push({vod_id:aid,vod_name:title,vod_pic:img,vod_remarks:remark})});VODS=videos}',
|
||||
lazy:'',
|
||||
lazy:'js:if(/^http/.test(input)){input={jx:1,url:input,parse:0}}else{let ids=input.split("_");let result={};let url="https://api.bilibili.com/pgc/player/web/playurl?qn=116&ep_id="+ids[0]+"&cid="+ids[1];let html=request(url);let jRoot=JSON.parse(html);if(jRoot["message"]!=="success"){print("需要大会员权限才能观看");input=""}else{let jo=jRoot["result"];let ja=jo["durl"];let maxSize=-1;let position=-1;ja.forEach(function(tmpJo,i){if(maxSize<Number(tmpJo["size"])){maxSize=Number(tmpJo["size"]);position=i}});let url="";if(ja.length>0){if(position===-1){position=0}url=ja[position]["url"]}result["parse"]=0;result["playUrl"]="";result["url"]=url;result["header"]={Referer:"https://www.bilibili.com","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36"};result["contentType"]="video/x-flv";input=result}}',
|
||||
lazy:'js:if(/^http/.test(input)){input={jx:1,url:input,parse:0,header:JSON.stringify({"user-agent":"Mozilla/5.0"})}}else{let ids=input.split("_");let result={};let url="https://api.bilibili.com/pgc/player/web/playurl?qn=116&ep_id="+ids[0]+"&cid="+ids[1];let html=request(url);let jRoot=JSON.parse(html);if(jRoot["message"]!=="success"){print("需要大会员权限才能观看");input=""}else{let jo=jRoot["result"];let ja=jo["durl"];let maxSize=-1;let position=-1;ja.forEach(function(tmpJo,i){if(maxSize<Number(tmpJo["size"])){maxSize=Number(tmpJo["size"]);position=i}});let url="";if(ja.length>0){if(position===-1){position=0}url=ja[position]["url"]}result["parse"]=0;result["playUrl"]="";result["url"]=url;result["header"]={Referer:"https://www.bilibili.com","User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36"};result["contentType"]="video/x-flv";input=result}}',
|
||||
}
|
21
js/大中影视.js
Normal file
21
js/大中影视.js
Normal file
File diff suppressed because one or more lines are too long
36
js/大猪蹄子.js
36
js/大猪蹄子.js
File diff suppressed because one or more lines are too long
12
js/大米星球.js
12
js/大米星球.js
File diff suppressed because one or more lines are too long
26
js/布雷蓝光.js
26
js/布雷蓝光.js
File diff suppressed because one or more lines are too long
48
js/海兔影院.js
48
js/海兔影院.js
File diff suppressed because one or more lines are too long
33
js/爱弹幕.js
Normal file
33
js/爱弹幕.js
Normal file
@ -0,0 +1,33 @@
|
||||
var rule = {
|
||||
title: '爱弹幕',
|
||||
host: 'https://www.girigirilove.com',
|
||||
class_name:'日番&美番&特摄&剧场&真人&4k&番剧导视',
|
||||
class_url:'2&3&4&21&20&22&24',
|
||||
homeUrl: '',
|
||||
searchUrl: '/index.php/ajax/suggest?mid=1&wd=**',
|
||||
searchable: 2,
|
||||
quickSearch: 0,
|
||||
headers:{'User-Agent':'MOBILE_UA'},
|
||||
// 分类链接fypage参数支持1个()表达式
|
||||
// url: '/index.php/api/vod#type=fyclass&page=fypage',
|
||||
url: '/index.php/api/vod#type=fyclass&page=fypage',
|
||||
filterable:0,//是否启用分类筛选,
|
||||
filter_url:'',
|
||||
filter: {},
|
||||
filter_def:{},
|
||||
detailUrl:'/voddetail/fyid/',
|
||||
图片来源:'@Referer=https://www.girigirilove.com/',
|
||||
推荐:'.list-vod.flex.wrap.border-box.public-r.hide-a-21 .public-list-box;a&&title;.lazy&&data-original;.public-list-prb&&Text;a&&href',
|
||||
一级:'',
|
||||
一级:'js:let body=input.split("#")[1];let t=Math.round(new Date/1e3).toString();let key=md5("DS"+t+"DCC147D11943AF75");let url=input.split("#")[0];body=body+"&time="+t+"&key="+key;print(body);fetch_params.body=body;let html=post(url,fetch_params);let data=JSON.parse(html);VODS=data.list.map(function(it){it.vod_pic=urljoin2(input.split("/i")[0],it.vod_pic);return it});',
|
||||
二级:{
|
||||
"title":".slide-info-title&&Text;.slide-info:eq(3)--strong&&Text",
|
||||
"img":"body&&.wow.fadeInLeft;a&&data-original",
|
||||
"desc":".fraction&&Text;.slide-info-remarks:eq(1)&&Text;.slide-info-remarks:eq(2)&&Text;.slide-info:eq(2)--strong&&Text;.slide-info:eq(1)--strong&&Text",
|
||||
"content":"#height_limit&&Text",
|
||||
"tabs":".anthology.wow.fadeInUp.animated&&.swiper-wrapper&&a",
|
||||
"tab_text":".swiper-slide&&Text",
|
||||
"lists":".anthology-list-box:eq(#id)&&.anthology-list-play&&li"
|
||||
},
|
||||
搜索:'json:list;name;pic;;id',
|
||||
}
|
21
js/花屋影院.js
21
js/花屋影院.js
File diff suppressed because one or more lines are too long
22
js/饭团影视.js
Normal file
22
js/饭团影视.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user