This commit is contained in:
qist 2023-09-15 14:15:56 +08:00
parent 93a7ccdb38
commit 05da7acba3
18 changed files with 150 additions and 61 deletions

View File

@ -1,5 +1,5 @@
{
"spider": "./jar/custom_spider.jar;md5;d5a5fbed39e0451e8f201f8bf53f276c",
"spider": "./jar/custom_spider.jar;md5;90d766a2f75763abd1ed1d31db5cb936",
"wallpaper": "http://饭太硬.top/深色壁纸/api.php",
"sites": [
{
@ -135,8 +135,8 @@
"searchable": 1,
"changeable": 0,
"ext": {
"categories": "沙雕动画#沙雕穿越#沙雕",
"cookie": "innersign=0; buvid3=2E536ADC-CD6D-46AB-A9FF-904395151EE369713infoc; b_nut=1669016569; i-wanna-go-back=-1; b_ut=7; _uuid=761F7F106-C575-884D-6C10A-92BC10A10D10FBC68934infoc; buvid4=5B25B999-AE15-E09A-A0CC-3661981B71BF70255-122112115-JOyWSaNZfI2kZmT1KYmcQA%3D%3D; fingerprint=6d9ef93c89a567d22b6a9c4104e6cc50; buvid_fp_plain=undefined; buvid_fp=6d9ef93c89a567d22b6a9c4104e6cc50; SESSDATA=2d6f63c8%2C1684568607%2C19eb6%2Ab1; bili_jct=21d538b01566c26afc81ff68c2ac7dca; DedeUserID=3493083203242585; DedeUserID__ckMd5=7b86f3894ed7f8c0; sid=ng0uyvaz; b_lsid=97FB69A2_1869DE8E2C5; bg_view_44176=720227"
"categories": "沙雕动漫#帕梅拉#舞蹈#音乐#风景#演唱会#记录片",
"cookie": ""
}
},
{

View File

@ -1,4 +1,4 @@
FongMi影视、TVBox配置文件。所有资源均来自于各路大神无私分享如有侵权请联系删除。
FongMi影视、TVBox、猫影视配置文件。所有资源均来自于各路大神无私分享,如有侵权,请联系删除。
所有以任何方式查看本仓库内容的人、或直接或间接使用本仓库内容的使用者都应仔细阅读此声明。本仓库管理者保留随时更改或补充此免责声明的权利。一旦使用、复制、修改了本仓库内容,则视为您已接受此免责声明。

View File

@ -351,6 +351,7 @@ async function play(flag, id, flags) {
const cid = ids[1];
const qualityIds = ids[2].split(':');
const qualityName = ids[3].split(':');
const dan = 'https://api.bilibili.com/x/v1/dm/list.so?oid=' + cid;
if (flag == 'dash' || flag == '相关') {
// dash mpd 代理
const js2Base = await js2Proxy(true, siteType, siteKey, 'dash/', {});
@ -361,6 +362,7 @@ async function play(flag, id, flags) {
return JSON.stringify({
parse: 0,
url: urls,
danmaku: dan,
header: playHeaders,
});
} else if (flag == 'mp4') {
@ -378,6 +380,7 @@ async function play(flag, id, flags) {
return JSON.stringify({
parse: 0,
url: urls,
danmaku: dan,
header: playHeaders,
});
} else {

View File

@ -1 +1 @@
//bbQ0FUT1AtFGxpYi9hbGkuanMQLi9jYXQuanMYLi9hbGlfYXBpLmpzDmluaXRBbGkaZGV0YWlsQ29udGVudBZwbGF5Q29udGVudDBkZXRhaWxDb250ZW50Vm9kUGxheUZyb20uZGV0YWlsQ29udGVudFZvZFBsYXlVcmwCXxBpbml0U29tZRBzZXRUb2tlbgxnZXRWb2QacGxheWVyQ29udGVudCZwbGF5ZXJDb250ZW50QnlGbGFnFGFsaVBhdHRlcm4QcGFyc2VWb2QGZXh0BGlkDm1hdGNoZXMGdm9kEmRldGFpbFN0cgptYXRjaBJzdHJpbmdpZnkIbGlzdA5jb25zb2xlCmRlYnVnDnNoYXJlSWQMZmlsZUlkDmlzRW1wdHkIZmxhZwZpZHMMcmVzdWx0AisCIwWfUzt1Li0tLS0tcGxheUNvbnRlbnQtLS0tLS0tEHBsYXlGcm9tAmkFhY0FbgYkJCQIcHVzaAefUzt1IwAHhY0FbiMADnBsYXlVcmwYdm9kX3BsYXlfdXJsD6QDAqYDqAMFAAeqAwAIrAMACq4DAAuwAwAMsgMABgC0AwABtgMBArgDAQO6AwEEvAMBBb4DAQ4ABgGgAQAAAAINCCsAtAMADLYDAQy4AwIMugMDDLwDBAy+AwUMwAMADaoDAQGsAwIBwgMDAa4DBAGwAwUBsgMGAQjoIL4CXwcAvgNfCAC+BF8JAL4FXwoAvgZfCwC+B18MACm9AL0BM18GACmkAw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AQAO6sViAABCWwAAAAT5AAAAJQEApAMlCBIXIYZEbGw1DmIGAbIDAQQBBgMAgwEF4AMAAQD6AwEAIMYDAAAAyAMDASDKAwUDIMADBgy0AwAMwgMJAGEAADjqAAAAQusAAADPJAEADiYAAMfPfepTyGECAMRC5wAAAGUAACQBAMk46gAAAELrAAAAYgIAJAEADmUBAELuAAAAYgIAJAEAluggYQMA3WICAMTui8piAABC+gAAAGIDAEH+AAAAJAEADoAA6KsOg2IAAEJbAAAABPkAAAAkAQAupAMxChJOFytEWGcraCE=

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -138,6 +138,7 @@
{"key":"drpy_js_有声绘本网","name":"少儿 | 有声绘本[js]","type":3,"api":"./lib/drpy2.min.js","changeable":0,"style":{"type":"rect","ratio":1},"ext":"./js/有声绘本网.js"},
{"key":"drpy_js_我的哔哩","name":"弹幕 | 哔哩合集[js]","type":3,"api":"./lib/drpy2.min.js","recordable":0,"style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/我的哔哩.js"},
{"key":"drpy_js_哔哩直播","name":"弹幕 | 哔哩直播[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/哔哩直播.js"},
{"key":"drpy_js_哔哩影视","name":"弹幕 | 哔哩影视[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/哔哩影视.js"},
{"key":"drpy_js_斗鱼直播","name":"直播 | 斗鱼[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/斗鱼直播.js"},
{"key":"drpy_js_虎牙直播","name":"直播 | 虎牙[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/虎牙直播.js"},
{"key":"drpy_js_JustLive","name":"直播 | JustLive[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/JustLive.js"},
@ -218,7 +219,6 @@
{"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/哔哩兔.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/厂长资源.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/楚门影院.js"},

View File

@ -1 +0,0 @@
!function(){for(var n=b,e=a();;)try{if(717987==-parseInt(n(328))+-parseInt(n(320))/2*(parseInt(n(325))/3)+parseInt(n(336))/4*(parseInt(n(332))/5)+-parseInt(n(327))/6+-parseInt(n(317))/7+parseInt(n(316))/8+parseInt(n(315))/9*(parseInt(n(322))/10))break;e.push(e.shift())}catch(g){e.push(e.shift())}}();import{_}from"assets://js/lib/cat.js";import{log}from"./utils.js";import{initSome,setToken,setShareId,getVod,playerContent,playerContentByFlag}from"./ali_api.js";function a(){const r=["126jHersJ","8018976SyNpYU","7198947GYbEkJ","wGsFx","isEmpty","50HOYYaa","PIvCN","1745270xSfZmS","match","split","68196ySTEaL","trim","3359892YLzwvG","845051dhMcfo","ali init:","MlDBF","xvRmD","4405TqvVPk","stringify","HyWVX","ali init ext:","1244NAvJeB","ewEMb"];return(a=function(){return r})()}function b(c,d){const e=a();return(b=function(f,g){return f-=314,e[f]})(c,d)}async function initAli(c){var o=b,d={HyWVX:function(f,g){return f(g)},PIvCN:o(329),ewEMb:function(f,g){return f+g},xvRmD:o(335)},e=c.ext;await d[o(334)](log,d[o(321)]+typeof c),await initSome(),await d[o(334)](setToken,e),await d[o(334)](log,d[o(314)](d[o(331)],e))}async function detailContent(c){var h,p=b,c=c[p(326)](),g=c[p(323)](/www.aliyundrive.com\/s\/([^\/]+)(\/folder\/([^\/]+))?/);return _[p(319)](g)?"":(h=g[1],g=3==g.length?g[3]:"",await{MlDBF:function(l,m){return l(m)}}[p(330)](setShareId,h),h=await getVod(c,g),JSON[p(333)]({list:[h]}))}async function playContent(c,d,e){var q=b,f={wGsFx:function(i,j){return i==j},rAcPj:function(i,j,k){return i(j,k)}},d=d[q(324)]("+");return f[q(318)](c,"原画")?await playerContent(d):await f.rAcPj(playerContentByFlag,d,c)}export{initAli,detailContent,playContent};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
function compareTwoStrings(first,second){if((first=first.replace(/\s+/g,""))===(second=second.replace(/\s+/g,"")))return 1;if(first.length<2||second.length<2)return 0;var firstBigrams=new Map;for(let i=0;i<first.length-1;i++){var bigram=first.substring(i,i+2),count=firstBigrams.has(bigram)?firstBigrams.get(bigram)+1:1;firstBigrams.set(bigram,count)}let intersectionSize=0;for(let i=0;i<second.length-1;i++){const bigram=second.substring(i,i+2),count=firstBigrams.has(bigram)?firstBigrams.get(bigram):0;0<count&&(firstBigrams.set(bigram,count-1),intersectionSize++)}return 2*intersectionSize/(first.length+second.length-2)}function findBestMatch(mainString,targetStrings){var ratings=[];let bestMatchIndex=0;for(let i=0;i<targetStrings.length;i++){var currentTargetString=targetStrings[i],currentRating=compareTwoStrings(mainString,currentTargetString);ratings.push({target:currentTargetString,rating:currentRating}),currentRating>ratings[bestMatchIndex].rating&&(bestMatchIndex=i)}return{ratings:ratings,bestMatch:ratings[bestMatchIndex],bestMatchIndex:bestMatchIndex}}function lcs(str1,str2){if(!str1||!str2)return{length:0,sequence:"",offset:0};for(var sequence="",str1Length=str1.length,str2Length=str2.length,num=new Array(str1Length),maxlen=0,lastSubsBegin=0,i=0;i<str1Length;i++){for(var subArray=new Array(str2Length),j=0;j<str2Length;j++)subArray[j]=0;num[i]=subArray}for(var thisSubsBegin=null,i=0;i<str1Length;i++)for(j=0;j<str2Length;j++)str1[i]!==str2[j]?num[i][j]=0:(num[i][j]=0===i||0===j?1:1+num[i-1][j-1],num[i][j]>maxlen&&(maxlen=num[i][j],lastSubsBegin===(thisSubsBegin=i-num[i][j]+1)?sequence+=str1[i]:(lastSubsBegin=thisSubsBegin,sequence="",sequence+=str1.substr(lastSubsBegin,i+1-lastSubsBegin))));return{length:maxlen,sequence:sequence,offset:thisSubsBegin}}function findBestLCS(mainString,targetStrings){var results=[];let bestMatchIndex=0;for(let i=0;i<targetStrings.length;i++){var currentTargetString=targetStrings[i],currentLCS=lcs(mainString,currentTargetString);results.push({target:currentTargetString,lcs:currentLCS}),currentLCS.length>results[bestMatchIndex].lcs.length&&(bestMatchIndex=i)}return{allLCS:results,bestMatch:results[bestMatchIndex],bestMatchIndex:bestMatchIndex}}export{compareTwoStrings,findBestMatch,findBestLCS};

View File

@ -1 +0,0 @@
function isSub(ext){return"srt"==ext||"ass"==ext||"ssa"==ext}function getSize(size){return size<=0?"":1099511627776<size?(size/=1099511627776).toFixed(2)+"TB":1073741824<size?(size/=1073741824).toFixed(2)+"GB":1048576<size?(size/=1048576).toFixed(2)+"MB":(size/=1024).toFixed(2)+"KB"}function removeExt(text){return-1<text.indexOf(".")?text.substring(0,text.lastIndexOf(".")):text}async function log(str){}export{isSub,getSize,removeExt,log};

View File

@ -1,3 +1,18 @@
/**
* 影视TV 弹幕支持
* https://t.me/fongmi_offical/
* https://github.com/FongMi/Release/tree/main/apk
* Cookie设置
* Cookie获取方法 https://ghproxy.net/https://raw.githubusercontent.com/UndCover/PyramidStore/main/list.md
* Cookie设置方法1: DR-PY 后台管理界面
* CMS后台管理 > 设置中心 > 环境变量 > {"bili_cookie":"XXXXXXX","vmid":"XXXXXX"} > 保存
* Cookie设置方法2: 手动替换Cookie
* 底下代码 headers的
* "Cookie":"$bili_cookie"
* 手动替换为
* "Cookie":"将获取的Cookie黏贴在这"
*/
var rule = {
title:'哔哩影视',
host:'https://api.bilibili.com',
@ -12,7 +27,7 @@ var rule = {
headers:{
'User-Agent':'PC_UA',
"Referer": "https://www.bilibili.com",
"Cookie":"http://127.0.0.1:9978/file/tvfan/cookie.txt"
"Cookie":"$bili_cookie"
},
timeout:5000,
class_name:'番剧&国创&电影&电视剧&纪录片&综艺&全部&追番&追剧&时间表',
@ -43,5 +58,55 @@ 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.net/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,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}}',
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 dan = 'https://api.bilibili.com/x/v1/dm/list.so?oid=' + ids[1];
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";
result["danmaku"] = dan;
input = result
}
}
`,
}

View File

@ -1,21 +1,21 @@
/* -> vod_area:'bililivedanmu'
目前只有皮皮虾大佬的DMBox, 支持弹幕
DMBox下载:https://t.me/pipixiawerun
设置 > 窗口预览 > 开启
*/
/* Cookie
Cookie获取方法 https://ghproxy.net/https://raw.githubusercontent.com/UndCover/PyramidStore/main/list.md
Cookie设置方法1: DR-PY 后台管理界面
CMS后台管理 > 设置中心 > 环境变量 > {"bili_cookie":"XXXXXXX","vmid":"XXXXXX"} > 保存
Cookie设置方法2: 手动替换Cookie
底下代码 headers的
"Cookie":"$bili_cookie"
手动替换为
"Cookie":"将获取的Cookie黏贴在这"
*/
/**
* 影视TV 弹幕支持
* https://t.me/fongmi_offical/
* https://github.com/FongMi/Release/tree/main/apk
* 皮皮虾DMBox 弹幕支持
* 设置 > 窗口预览 > 开启
* https://t.me/pipixiawerun
* vod_area:'bililivedanmu'
* Cookie设置
* Cookie获取方法 https://ghproxy.net/https://raw.githubusercontent.com/UndCover/PyramidStore/main/list.md
* Cookie设置方法1: DR-PY 后台管理界面
* CMS后台管理 > 设置中心 > 环境变量 > {"bili_cookie":"XXXXXXX","vmid":"XXXXXX"} > 保存
* Cookie设置方法2: 手动替换Cookie
* 底下代码 headers的
* "Cookie":"$bili_cookie"
* 手动替换为
* "Cookie":"将获取的Cookie黏贴在这"
*/
var rule = {
title:'哔哩直播',
@ -27,7 +27,7 @@ var rule = {
filterable: 1,
filter_url: '{{fl.area}}',
filter_def:{
10:{area:'33'},
10:{area:'624'},
2:{area:'86'},
3:{area:'35'},
6:{area:'236'},
@ -58,7 +58,7 @@ var rule = {
"User-Agent":"PC_UA",
"Referer": "https://www.bilibili.com",
// "Cookie":"$bili_cookie"
"Cookie":"http://127.0.0.1:9978/file/tvfan/cookie.txt"
"Cookie":"https://ghproxy.net/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/txt/cookie.txt"
},
timeout:5000,
limit:8,
@ -66,7 +66,35 @@ var rule = {
// 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:0,
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}",
lazy:`js:
let ids = input.split('_');
let dan = 'https://api.bilibili.com/x/v1/dm/list.so?oid=' + ids[1];
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'
};
result['danmaku'] = dan;
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',

View File

@ -1,25 +1,21 @@
/* -> vod_area:'bilidanmu'
目前只有皮皮虾大佬的DMBox, 支持弹幕
DMBox下载:https://t.me/pipixiawerun
设置 > 窗口预览 > 开启
*/
/* Cookie
Cookie改为预设获取蜂蜜大佬Github的
https://ghproxy.net/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/txt/cookie.txt
Cookie获取方法
https://ghproxy.net/https://raw.githubusercontent.com/UndCover/PyramidStore/main/list.md
Cookie设置方法1: DR-PY 后台管理界面
CMS后台管理 > 设置中心 > 环境变量 > {"bili_cookie":"XXXXXXX","vmid":"XXXXXX"} > 保存
Cookie设置方法2: 手动替换Cookie
底下代码 headers的
"Cookie":"$bili_cookie"
手动替换为
"Cookie":"将获取的Cookie黏贴在这"
*/
/**
* 影视TV 弹幕支持
* https://t.me/fongmi_offical/
* https://github.com/FongMi/Release/tree/main/apk
* 皮皮虾DMBox 弹幕支持
* 设置 > 窗口预览 > 开启
* https://t.me/pipixiawerun
* vod_area:'bilidanmu'
* Cookie设置
* Cookie获取方法 https://ghproxy.net/https://raw.githubusercontent.com/UndCover/PyramidStore/main/list.md
* Cookie设置方法1: DR-PY 后台管理界面
* CMS后台管理 > 设置中心 > 环境变量 > {"bili_cookie":"XXXXXXX","vmid":"XXXXXX"} > 保存
* Cookie设置方法2: 手动替换Cookie
* 底下代码 headers的
* "Cookie":"$bili_cookie"
* 手动替换为
* "Cookie":"将获取的Cookie黏贴在这"
*/
var rule = {
title:'我的哔哩',
@ -109,13 +105,14 @@ var rule = {
"Referer": "https://www.bilibili.com",
// "Cookie":"$bili_cookie"
// "Cookie":"https://ghproxy.net/https://github.com/FongMi/CatVodSpider/raw/main/txt/cookie.txt"
"cookie": "http://127.0.0.1:9978/file/tvfan/cookie.txt"
"Cookie":"https://ghproxy.net/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/txt/cookie.txt"
},
timeout:5000,
limit:8,
play_parse:true,
lazy:`js:
let ids = input.split('_');
let dan = 'https://api.bilibili.com/x/v1/dm/list.so?oid=' + ids[1];
let result = {};
let iurl = 'https://api.bilibili.com:443/x/player/playurl?avid=' + ids[0] + '&cid=' + ids[1] + '&qn=116';
let html = request(iurl);
@ -145,6 +142,7 @@ var rule = {
'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'
};
result.contentType = 'video/x-flv';
result.danmaku = dan;
input = result
`,
double:false,

View File

@ -138,6 +138,7 @@
{"key":"drpy_js_有声绘本网","name":"少儿 | 有声绘本[js]","type":3,"api":"./lib/drpy2.min.js","changeable":0,"style":{"type":"rect","ratio":1},"ext":"./js/有声绘本网.js"},
{"key":"drpy_js_我的哔哩","name":"弹幕 | 哔哩合集[js]","type":3,"api":"./lib/drpy2.min.js","recordable":0,"style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/我的哔哩.js"},
{"key":"drpy_js_哔哩直播","name":"弹幕 | 哔哩直播[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/哔哩直播.js"},
{"key":"drpy_js_哔哩影视","name":"弹幕 | 哔哩影视[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/哔哩影视.js"},
{"key":"drpy_js_斗鱼直播","name":"直播 | 斗鱼[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/斗鱼直播.js"},
{"key":"drpy_js_虎牙直播","name":"直播 | 虎牙[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/虎牙直播.js"},
{"key":"drpy_js_JustLive","name":"直播 | JustLive[js]","type":3,"api":"./lib/drpy2.min.js","style":{"type":"rect","ratio":1.597},"changeable":0,"ext":"./js/JustLive.js"},
@ -218,7 +219,6 @@
{"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/哔哩兔.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/厂长资源.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/楚门影院.js"},