mirror of https://github.com/qist/tvbox
Add files via upload
This commit is contained in:
parent
0e05ea5f43
commit
c1801299cf
36
js/69美剧.js
36
js/69美剧.js
File diff suppressed because one or more lines are too long
25
js/Fun4K.js
25
js/Fun4K.js
|
@ -1,13 +1,20 @@
|
|||
// 搜索验证
|
||||
muban.mxone5.二级.desc = '.video-info-items:eq(3)&&Text;;;.video-info-actor:eq(1)&&Text;.video-info-actor:eq(0)&&Text';
|
||||
muban.mxone5.二级.tabs = '.module-tab-item';
|
||||
muban.mxone5.二级.lists = '.module-player-list:eq(#id)&&.scroll-content&&a';
|
||||
var rule = Object.assign(muban.mxone5,{
|
||||
title:'Fun4K',
|
||||
host:'https://www.fun4k.com',
|
||||
url:'/vod/fyclass--------fypage---/',
|
||||
searchUrl:'/vodsearch/**----------fypage---/',
|
||||
class_parse:'.nav ul li;a&&Text;a&&href;.*/(.*?)/',
|
||||
cate_exclude: 'Bilibili|虎牙',
|
||||
headers:{
|
||||
var rule = {
|
||||
title:'Fun4K',
|
||||
模板:'mxone5',
|
||||
host:'https://www.fun4k.com',
|
||||
url:'/vod/fyclass--------fypage---/',
|
||||
class_parse:'.nav ul li;a&&Text;a&&href;.*/(.*?)/',
|
||||
cate_exclude: 'Bilibili|虎牙',
|
||||
lazy:"js:var html=JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);var url=html.url;if(html.encrypt=='1'){url=unescape(url)}else if(html.encrypt=='2'){url=unescape(base64Decode(url))}if(/m3u8|mp4/.test(url)){input=url}else{input}",
|
||||
headers:{
|
||||
'User-Agent':'PC_UA',
|
||||
},
|
||||
});
|
||||
// searchUrl:'/vodsearch/**----------fypage---/',
|
||||
searchUrl:'/index.php/ajax/suggest?mid=1&wd=**',
|
||||
detailUrl:'/vodplay/fyid-1-1/', //非必填,二级详情拼接链接
|
||||
搜索:'json:list;name;pic;;id',
|
||||
}
|
|
@ -0,0 +1,32 @@
|
|||
// 道长 drpy仓库 https://gitcode.net/qq_32394351/dr_py
|
||||
// 道长 drpy安卓本地搭建说明 https://gitcode.net/qq_32394351/dr_py/-/blob/master/%E5%AE%89%E5%8D%93%E6%9C%AC%E5%9C%B0%E6%90%AD%E5%BB%BA%E8%AF%B4%E6%98%8E.md
|
||||
// 道长 drpy写源 模板规则说明 https://gitcode.net/qq_32394351/dr_py#%E6%A8%A1%E6%9D%BF%E8%A7%84%E5%88%99%E8%AF%B4%E6%98%8E
|
||||
// 道长 drpy写源 套模模版 https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/%E6%A8%A1%E6%9D%BF.js
|
||||
// 道长 drpy写源 相关视频教程 https://www.youtube.com/watch?v=AK7cN-fcwm4
|
||||
// 道长 drpy写源 写源教学视频 https://t.me/fongmi_offical/54080/63553
|
||||
// 海阔下载 https://haikuo.lanzoui.com/u/GoldRiver
|
||||
// 影视TV 官方TG Drpy群 https://t.me/fongmi_offical/63689
|
||||
// 影视TV 官方TG 下载 https://t.me/fongmi_release
|
||||
|
||||
|
||||
var rule = {
|
||||
title:'UrleBird',
|
||||
host:'https://urlebird.com',
|
||||
homeUrl:'/trending/',
|
||||
url:'fyclass/page/fypage/[fyclass/]',
|
||||
searchUrl:'/search/?q=**',//Search @user or #hash
|
||||
searchable:2,
|
||||
quickSearch:0,
|
||||
class_name:'更新&人气&热搜',
|
||||
class_url:'videos&videos/popular&trending',
|
||||
headers:{
|
||||
'User-Agent':'PC_UA'
|
||||
},
|
||||
play_parse:true,
|
||||
lazy:'js:let html=request(input);let rurl=html.match(/video src="(.*?)"/)[1];input={parse:0,url:rurl};',
|
||||
limit:10,
|
||||
推荐:'*',
|
||||
一级:"js:var d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;var list=pdfa(request(input),'body&&.thumb');list.forEach(function(it){let img=pd(it,'.img img&&data-src');if(!/jpg|jpeg|webp/.test(img)){img=pd(it,'.img img&&src')};d.push({desc:pdfh(it,'.author-name&&Text'),title:'♥'+pdfh(it,'.stats div:eq(2)&&Text')+' '+pdfh(it,'.info3--div&&Text'),pic_url:img,url:pd(it,'a:eq(-1)&&href')})});setResult(d);",
|
||||
二级:'*',
|
||||
搜索:'*',
|
||||
}
|
148
js/alist.json
148
js/alist.json
|
@ -1,21 +1,127 @@
|
|||
{
|
||||
"小江": "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"
|
||||
}
|
||||
[
|
||||
{
|
||||
"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
|
||||
}]
|
11
js/ddys.js
11
js/ddys.js
|
@ -1,6 +1,9 @@
|
|||
// 网址发布页 https://ddys.site
|
||||
var rule={
|
||||
title:'ddys',
|
||||
host:'https://ddys.tv',
|
||||
// host:'https://ddys.tv',
|
||||
// host:'https://ddys.art', // 推荐使用,尚未被污染,对国内线路优化
|
||||
host:'https://ddys.pro', // 推荐使用,尚未被污染
|
||||
// homeUrl:'/',
|
||||
url:'/fyclass/page/fypage/',
|
||||
searchUrl:'/?s=**&post_type=post',
|
||||
|
@ -13,7 +16,8 @@ var rule={
|
|||
},
|
||||
// class_name:'电影&剧集&动画',
|
||||
// class_url:'movie&airing&anime',
|
||||
class_parse:'#primary-menu li.menu-item;a&&Text;a&&href;\.tv/(.*)',
|
||||
// class_parse:'#primary-menu li.menu-item;a&&Text;a&&href;\.tv/(.*)',
|
||||
class_parse:'#primary-menu li.menu-item;a&&Text;a&&href;\.pro/(.*)',
|
||||
cate_exclude:'站长|^其他$|关于|^电影$|^剧集$|^类型$',
|
||||
play_parse:true,
|
||||
lazy:'js:let purl=input.split("|")[0];let referer=input.split("|")[1];let zm=input.split("|")[2];print("purl:"+purl);print("referer:"+referer);print("zm:"+zm);let myua="okhttp/3.15";if(/ddrkey/.test(purl)){let ret=request(purl,{Referer:referer,withHeaders:true,"User-Agent":myua});log(ret);input=purl}else{let html=request(purl,{headers:{Referer:referer,"User-Agent":myua}});print(html);try{input=JSON.parse(html).url||{}}catch(e){input=purl}}',
|
||||
|
@ -22,7 +26,8 @@ var rule={
|
|||
double:true, // 推荐内容是否双层定位
|
||||
一级:'.post-box-list&&article;a:eq(-1)&&Text;.post-box-image&&style;a:eq(0)&&Text;a:eq(-1)&&href',
|
||||
二级:{"title":".post-title&&Text;.cat-links&&Text","img":".doulist-item&&img&&data-cfsrc","desc":".published&&Text","content":".abstract&&Text","tabs":"js:TABS=['国内','海外(貌似不能播放)']",
|
||||
lists:'js:log(TABS);let d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;if(typeof play_url==="undefined"){var play_url=""}function getLists(html){let src=pdfh(html,".wp-playlist-script&&Html");src=JSON.parse(src).tracks;let list1=[];let list2=[];src.forEach(function(it){let src0=it.src0;let src1=it.src1;let src2=it.src2;let title=it.caption;let url1="https://ddys.tv/getvddr/video?id="+src1+"&dim=1080P+&type=mix";let url2="https://w.ddys.tv"+src0+"?ddrkey="+src2;let zm="https://ddys.tv/subddr/"+it.subsrc;list1.push({title:title,url:url1,desc:zm});list2.push({title:title,url:url2,desc:zm})});return{list1:list1,list2:list2}}var data=getLists(html);var list1=data.list1;var list2=data.list2;let nums=pdfa(html,"body&&.post-page-numbers");nums.forEach(function(it){let num=pdfh(it,"body&&Text");log(num);let nurl=input+num+"/";if(num==1){return}log(nurl);let html=request(nurl);let data=getLists(html);list1=list1.concat(data.list1);list2=list2.concat(data.list2)});list1=list1.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});list2=list2.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});LISTS=[list1,list2];',
|
||||
// lists:'js:log(TABS);let d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;if(typeof play_url==="undefined"){var play_url=""}function getLists(html){let src=pdfh(html,".wp-playlist-script&&Html");src=JSON.parse(src).tracks;let list1=[];let list2=[];src.forEach(function(it){let src0=it.src0;let src1=it.src1;let src2=it.src2;let title=it.caption;let url1="https://ddys.tv/getvddr/video?id="+src1+"&dim=1080P+&type=mix";let url2="https://w.ddys.tv"+src0+"?ddrkey="+src2;let zm="https://ddys.tv/subddr/"+it.subsrc;list1.push({title:title,url:url1,desc:zm});list2.push({title:title,url:url2,desc:zm})});return{list1:list1,list2:list2}}var data=getLists(html);var list1=data.list1;var list2=data.list2;let nums=pdfa(html,"body&&.post-page-numbers");nums.forEach(function(it){let num=pdfh(it,"body&&Text");log(num);let nurl=input+num+"/";if(num==1){return}log(nurl);let html=request(nurl);let data=getLists(html);list1=list1.concat(data.list1);list2=list2.concat(data.list2)});list1=list1.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});list2=list2.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});LISTS=[list1,list2];',
|
||||
lists:'js:log(TABS);let d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;if(typeof play_url==="undefined"){var play_url=""}function getLists(html){let src=pdfh(html,".wp-playlist-script&&Html");src=JSON.parse(src).tracks;let list1=[];let list2=[];src.forEach(function(it){let src0=it.src0;let src1=it.src1;let src2=it.src2;let title=it.caption;let url1="https://ddys.pro/getvddr/video?id="+src1+"&dim=1080P+&type=mix";let url2="https://w.ddys.pro"+src0+"?ddrkey="+src2;let zm="https://ddys.pro/subddr/"+it.subsrc;list1.push({title:title,url:url1,desc:zm});list2.push({title:title,url:url2,desc:zm})});return{list1:list1,list2:list2}}var data=getLists(html);var list1=data.list1;var list2=data.list2;let nums=pdfa(html,"body&&.post-page-numbers");nums.forEach(function(it){let num=pdfh(it,"body&&Text");log(num);let nurl=input+num+"/";if(num==1){return}log(nurl);let html=request(nurl);let data=getLists(html);list1=list1.concat(data.list1);list2=list2.concat(data.list2)});list1=list1.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});list2=list2.map(function(item){return item.title+"$"+play_url+urlencode(item.url+"|"+input+"|"+item.desc)});LISTS=[list1,list2];',
|
||||
},
|
||||
搜索:'#main&&article;.post-title&&Text;;.published&&Text;a&&href',
|
||||
推荐:'*'
|
||||
|
|
23
js/fositv.js
23
js/fositv.js
|
@ -1,14 +1,11 @@
|
|||
var rule={
|
||||
title:'饭团',
|
||||
模板:'首图',
|
||||
host:'https://fositv.com',
|
||||
// url:'/vod____show/fyclass--------fypage---.html',
|
||||
url:'/vod_____show/fyclass--time------fypage---.html',
|
||||
// class_parse:'.myui-header__menu li.hidden-sm:gt(0):lt(5);a&&Text;a&&href;/vod____type/(\\d+).html',
|
||||
class_parse:'.myui-header__menu li.hidden-sm:gt(0):lt(5);a&&Text;a&&href;/vod_____type/(\\d+).html',
|
||||
// 二级:{"title":".text-fff&&Text;.myui-player__data p&&Text","img":"","desc":".myui-player__data p&&Text;;;.text-collapse p:eq(1)&&Text;.text-collapse p:eq(0)&&Text","content":".data&&Text","tabs":".nav-tabs:eq(0) li","lists":".myui-content__list:eq(#id) li"},
|
||||
二级:{"title":".text-fff&&Text;.myui-player__data p&&Text","img":".lazyload&&data-original","desc":".myui-player__data p&&Text;;;.text-collapse p:eq(1)&&Text;.text-collapse p:eq(0)&&Text","content":".data&&Text","tabs":".nav-tabs:eq(0) li","lists":".myui-content__list:eq(#id) li"},
|
||||
// searchUrl:'/vod_search/-------------.html?wd=**',
|
||||
searchUrl: '/vod_____search/**----------fypage---.html',
|
||||
搜索:'#searchList li;a&&title;.lazyload&&data-original;.text-right&&Text;a&&href',
|
||||
var rule={
|
||||
title:'饭团',
|
||||
模板:'首图',
|
||||
host:'https://fositv.com',
|
||||
// url:'/vod_________________________show/fyclass--------fypage---.html',
|
||||
url:'/fyclass-fypage.html',
|
||||
searchUrl:'/vod_________________________search/**----------fypage---.html',
|
||||
class_parse:'.myui-header__menu li.hidden-sm:gt(0):lt(6);a&&Text;a&&href;com/(.*?).html',
|
||||
二级:{"title":".text-fff&&Text;.myui-player__data p&&Text","img":".lazyload&&data-original","desc":".myui-player__data p&&Text;;;.text-collapse p:eq(1)&&Text;.text-collapse p:eq(0)&&Text","content":".data&&Text","tabs":".nav-tabs:eq(0) li","lists":".myui-content__list:eq(#id) li"},
|
||||
搜索:'#searchList li;a&&title;.lazyload&&data-original;.text-right&&Text;a&&href',
|
||||
}
|
29
js/l0l.js
29
js/l0l.js
|
@ -1,10 +1,25 @@
|
|||
muban.海螺2.二级.content = '.play-m-box&&Text';
|
||||
muban.海螺2.二级.desc = '.play-news&&Text';
|
||||
muban.海螺2.二级.img = '';
|
||||
var rule = Object.assign(muban.海螺2,{
|
||||
var rule = {
|
||||
title:'l0l',
|
||||
host:'https://www.l0l.tv',
|
||||
class_parse:'.index-tag&&li;a&&.title&&Text;a&&href;.*/(.*?).html',
|
||||
url: '/index.php/vod/show/id/fyclass/page/fypage.html',
|
||||
class_parse:'.ecnav-nav .main-nav;a&&Text;a&&href;.*/(.*?).html',
|
||||
searchUrl:'/index.php/vod/search/page/fypage/wd/**.html',
|
||||
搜索:'.searchlilst&&li;a&&title;.lazy&&data-original;.list-remarks&&Text;a&&href',
|
||||
});
|
||||
searchable:2,//是否启用全局搜索,
|
||||
quickSearch:0,//是否启用快速搜索,
|
||||
headers: {//网站的请求头,完整支持所有的,常带ua和cookies
|
||||
'User-Agent': 'PC_UA',
|
||||
},
|
||||
lazy:'',
|
||||
limit:6,
|
||||
推荐: '*',
|
||||
一级: '.vodlist&&.pack-ykpack;a&&title;.eclazy&&data-original;.pack-prb&&Text;a&&href',
|
||||
二级: {
|
||||
"title": "h2.title&&Text;.play-tag.cor3 span--div:eq(3)&&Text",
|
||||
"img": ".poster&&style",
|
||||
"desc": ".remarks&&Text;;;.info-wrap--span:eq(1)&&Text;.info-wrap--span:eq(0)&&Text",
|
||||
"content": ".info-wrap.cor3--span&&Text",
|
||||
"tabs": ".swiper-wrapper.cf a",
|
||||
"lists": "#playsx:eq(#id)&&li"
|
||||
},
|
||||
搜索:'.ec-search li;*;*;*;*',
|
||||
}
|
46
js/哔哩直播.js
46
js/哔哩直播.js
|
@ -1,12 +1,21 @@
|
|||
// 道长 drpy仓库 https://gitcode.net/qq_32394351/dr_py
|
||||
// 道长 drpy安卓本地搭建说明 https://gitcode.net/qq_32394351/dr_py/-/blob/master/%E5%AE%89%E5%8D%93%E6%9C%AC%E5%9C%B0%E6%90%AD%E5%BB%BA%E8%AF%B4%E6%98%8E.md
|
||||
// 道长 drpy写源 模板规则说明 https://gitcode.net/supertlo/dr_py#%E6%A8%A1%E6%9D%BF%E8%A7%84%E5%88%99%E8%AF%B4%E6%98%8E
|
||||
// 道长 drpy写源 套模模版 https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/%E6%A8%A1%E6%9D%BF.js
|
||||
// 道长 drpy写源 影片教程 http://101.34.67.237:5244/%E6%95%99%E8%82%B2/drpy
|
||||
// 道长 drpy写源 影片教程(m3u8切片) https://freedrpy.run.goorm.io/txt/jc/playlist.m3u8
|
||||
// 海阔下载 https://haikuo.lanzoui.com/u/GoldRiver
|
||||
// Pluto Player官方TG https://t.me/PlutoPlayer
|
||||
// Pluto Player官方TG https://t.me/PlutoPlayerChannel
|
||||
/* 直播弹幕 -> vod_area:'bililivedanmu'
|
||||
目前只有皮皮虾大佬的DMBox, 支持弹幕
|
||||
DMBox下载:https://t.me/pipixiawerun
|
||||
设置 > 窗口预览 > 开启
|
||||
*/
|
||||
|
||||
/* Cookie设置
|
||||
Cookie获取方法 https://github.com/UndCover/PyramidStore/blob/main/list.md#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9
|
||||
|
||||
Cookie设置方法1: DR-PY 后台管理界面
|
||||
CMS后台管理 > 设置中心 > 环境变量 > {"bili_cookie":"XXXXXXX","vmid":"XXXXXX"} > 保存
|
||||
|
||||
Cookie设置方法2: 手动替换Cookie
|
||||
底下代码 headers的
|
||||
"Cookie":"$bili_cookie"
|
||||
手动替换为
|
||||
"Cookie":"将获取的Cookie黏贴在这"
|
||||
*/
|
||||
|
||||
var rule = {
|
||||
title:'哔哩直播',
|
||||
|
@ -43,24 +52,27 @@ var rule = {
|
|||
},
|
||||
detailUrl:'https://live.bilibili.com/fyid',//二级详情拼接链接(json格式用)
|
||||
// detailUrl:'https://api.live.bilibili.com/xlive/web-room/v1/playUrl/playUrl?cid=fyid&platform=h5&otype=json&quality=0',//二级详情拼接链接(json格式用)
|
||||
searchUrl:'/x/web-interface/search/type?__refresh__=true&page=fypage&page_size=42&order=online&platform=pc&highlight=1&single_column=0&keyword=**&search_type=live&dynamic_offset=0&preload=true',
|
||||
// searchUrl:'/x/web-interface/search/type?__refresh__=true&page=fypage&page_size=42&order=online&platform=pc&highlight=1&single_column=0&keyword=**&search_type=live&dynamic_offset=0&preload=true',
|
||||
searchUrl:'https://api.bilibili.com/x/web-interface/search/type?search_type=live&keyword=**&page=1',
|
||||
searchable:2,
|
||||
quickSearch:0,
|
||||
headers:{
|
||||
"User-Agent":"PC_UA"
|
||||
//"Cookie": ""
|
||||
// Cookie获取方法 https://github.com/UndCover/PyramidStore/blob/main/list.md#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9
|
||||
"User-Agent":"PC_UA",
|
||||
"Referer": "https://www.bilibili.com",
|
||||
"Cookie":"$bili_cookie"
|
||||
},
|
||||
timeout:5000,
|
||||
limit:8,
|
||||
play_parse:true,
|
||||
// play_json:[{re:'*', json:{jx:0, parse:1,header:JSON.stringify({"user-agent":"Mozilla/5.0 (Linux; U; Android 9; zh-CN; MI 9 Build/PKQ1.181121.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 UCBrowser/12.5.5.1035 Mobile Safari/537.36"})}}],
|
||||
play_json:[{re:'*', json:{jx:0, parse:1,header:JSON.stringify({"user-agent":"uc_ua"})}}],
|
||||
// play_json:[{re:'*', json:{jx:0, parse:1,header:JSON.stringify({"user-agent":"uc_ua"})}}],
|
||||
// play_json:0,
|
||||
lazy:'',
|
||||
lazy:"js:let ids=input.split('_');let result={};let iurl='https://api.live.bilibili.com/room/v1/Room/playUrl?cid='+ids[1]+'&'+ids[0];let html=request(iurl);let jRoot=JSON.parse(html);let jo=jRoot['data'];let ja=jo['durl'];let purl='';if(ja.length>0){purl=ja[0]['url']}result['parse']=0;result['playUrl']='';result['url']=unescape(purl);result['header']={Referer:'https://live.bilibili.com','User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36'};if(/h5/.test(ids[0])){result['contentType']='';input=result}else{result['contentType']='video/x-flv';input=result}",
|
||||
double:false,
|
||||
推荐:'*',
|
||||
一级:'json:data.list;title;system_cover;uname;roomid',
|
||||
二级:'*',
|
||||
搜索:'json:data.result.live_room;*;cover;*;*',
|
||||
// 二级:'*',
|
||||
二级:"js:let aid=input.match(/\\/(\\d+)/)[1];log(aid);let html=request('https://api.live.bilibili.com/room/v1/Room/get_info?room_id='+aid);let jo=JSON.parse(html).data;let title=jo['title'];let pic=jo['keyframe'];let desc=jo['description'];let dire=jo['uid'];let typeName=jo['area_name'];let remark='在线人数:'+jo['online'];let vod={vod_id:aid,vod_name:title,vod_pic:pic,type_name:typeName,vod_area:'bililivedanmu',vod_remarks:remark,vod_actor:'直播间id-'+aid,vod_director:dire,vod_content:desc};vod['vod_play_from']='B站';vod['vod_play_url']='flv线路原画$platform=web&quality=4_'+aid+'#flv线路高清$platform=web&quality=3_'+aid+'#h5线路原画$platform=h5&quality=4_'+aid+'#h5线路高清$platform=h5&quality=3_'+aid;VOD=vod;",
|
||||
// 搜索:'json:data.result.live_room;title;cover;uname;roomid',
|
||||
搜索:'js:let html=request(input);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 videos=[];let vodList=JSON.parse(html).data.result.live_room;vodList.forEach(function(vod){let aid=vod["roomid"];let title="直播间:"+vod["title"].replace(\'<em class="keyword">\',"").replace("</em>","");let img="https:"+vod["user_cover"];let remark=vod["watched_show"]["text_small"]+" "+vod["uname"];videos.push({vod_id:aid,vod_name:title,vod_pic:img,vod_remarks:remark})});VODS=videos}',
|
||||
}
|
36
js/爱迪影视.js
36
js/爱迪影视.js
File diff suppressed because one or more lines are too long
19
js/饭团.js
19
js/饭团.js
|
@ -1,16 +1,11 @@
|
|||
var rule = {
|
||||
title:'饭团',
|
||||
模板:'首图',
|
||||
host:'https://fositv.com',
|
||||
url:'/vod_____type/fyclass-fypage.html',
|
||||
searchUrl:'/vod_____search/-------------.html?wd=**&submit=',
|
||||
searchable:2,
|
||||
quickSearch:0,
|
||||
filterable:0,
|
||||
headers:{'User-Agent':'MOBILE_UA',},
|
||||
class_name:'电影&电视剧&综艺&动漫&记录',
|
||||
class_url:'1&2&3&4&5',
|
||||
推荐:'.myui-vodlist__thumb.lazyload;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href',
|
||||
一级:'.myui-vodlist__thumb;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href',
|
||||
二级:{"title":".text-fff&&Text;.myui-player__data p&&Text","img":"","desc":".myui-player__data p&&Text;;;.text-collapse p:eq(1)&&Text;.text-collapse p:eq(0)&&Text","content":".data&&Text","tabs":".nav-tabs:eq(0) li","lists":".myui-content__list:eq(#id) li"},
|
||||
搜索:'.myui-vodlist__thumb;a&&title;.lazyload&&data-original;.pic-text&&Text;a&&href',
|
||||
// url:'/vod_________________________show/fyclass--------fypage---.html',
|
||||
url:'/fyclass-fypage.html',
|
||||
searchUrl:'/vod_________________________search/**----------fypage---.html',
|
||||
class_parse:'.myui-header__menu li.hidden-sm:gt(0):lt(6);a&&Text;a&&href;com/(.*?).html',
|
||||
二级:{"title":".text-fff&&Text;.myui-player__data p&&Text","img":".lazyload&&data-original","desc":".myui-player__data p&&Text;;;.text-collapse p:eq(1)&&Text;.text-collapse p:eq(0)&&Text","content":".data&&Text","tabs":".nav-tabs:eq(0) li","lists":".myui-content__list:eq(#id) li"},
|
||||
搜索:'#searchList li;a&&title;.lazyload&&data-original;.text-right&&Text;a&&href',
|
||||
}
|
Loading…
Reference in New Issue