update mao

This commit is contained in:
chuqiuyu 2023-08-20 12:47:09 +08:00
parent 3abb72244a
commit 3bc896baf4
8 changed files with 26 additions and 21 deletions

View File

@ -38,13 +38,13 @@
{"key":"drpy_js_极影网","name":"极影网┃PG","type":3,"api":"./lib/drpy2.min.js","ext":"./js/jiyingw.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_MP4US","name":"MP4电影┃PG","type":3,"api":"./lib/drpy2.min.js","ext":"./js/mp4us.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_电影港","name":"电影港┃PG","type":3,"api":"./lib/drpy2.min.js","ext":"./js/dygang.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_boosj_open","name":"童趣┃猫","type":3,"api":"./lib/boosj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_tuxiaobei_open","name":"兔小贝┃猫","type":3,"api":"./lib/tuxiaobei_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_ubestkid_open","name":"贝乐虎┃猫","type":3,"api":"./lib/ubestkid_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_kuqimv_open","name":"酷奇MV┃猫","type":3,"api":"./lib/kuqimv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_dj0898_open","name":"世纪DJ┃猫","type":3,"api":"./lib/dj0898_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_zxzj_open","name":"在线之家┃猫","type":3,"api":"./lib/zxzj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_cntv_open","name":"视聚场┃猫","type":3,"api":"./lib/cntv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_boosj_open","name":"童趣┃猫","type":3,"api":"./js/boosj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_tuxiaobei_open","name":"兔小贝┃猫","type":3,"api":"./js/tuxiaobei_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_ubestkid_open","name":"贝乐虎┃猫","type":3,"api":"./js/ubestkid_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_kuqimv_open","name":"酷奇MV┃猫","type":3,"api":"./js/kuqimv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_dj0898_open","name":"世纪DJ┃猫","type":3,"api":"./js/dj0898_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_zxzj_open","name":"在线之家┃猫","type":3,"api":"./js/zxzj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_cntv_open","name":"视聚场┃猫","type":3,"api":"./js/cntv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"DiDuan","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,"filterable":1,"ext":"https://www.kuin.one/api.php/app/"},

View File

@ -21,13 +21,13 @@
{"key":"lf_js_p2p","name":"磁力lf","type":3,"searchable":1,"changeable":1,"quickSearch":1,"filterable":1,"api":"./lib/lf_p2p2_min.js"},
{"key":"lf_js_ikanbot","name":"点播lf","type":3,"searchable":1,"changeable":1,"quickSearch":1,"filterable":1,"api":"./lib/lf_ikanbot_min.js"},
{"key":"lf_js_lf_live","name":"直播lf","type":3,"api":"./lib/lf_live_min.js","style":{ "type":"oval"},"searchable":1,"changeable":0,"quickSearch":1,"filterable":1,"ext":"./js/lf_live.txt"},
{"key":"drpy_js_boosj_open","name":"童趣m","type":3,"api":"./lib/boosj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_tuxiaobei_open","name":"小贝m","type":3,"api":"./lib/tuxiaobei_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_ubestkid_open","name":"贝乐m","type":3,"api":"./lib/ubestkid_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_kuqimv_open","name":"酷奇m","type":3,"api":"./lib/kuqimv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_dj0898_open","name":"世纪m","type":3,"api":"./lib/dj0898_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_zxzj_open","name":"在线m","type":3,"api":"./lib/zxzj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_cntv_open","name":"视聚m","type":3,"api":"./lib/cntv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_boosj_open","name":"童趣m","type":3,"api":"./js/boosj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_tuxiaobei_open","name":"小贝m","type":3,"api":"./js/tuxiaobei_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_ubestkid_open","name":"贝乐m","type":3,"api":"./js/ubestkid_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_kuqimv_open","name":"酷奇m","type":3,"api":"./js/kuqimv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_dj0898_open","name":"世纪m","type":3,"api":"./js/dj0898_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_zxzj_open","name":"在线m","type":3,"api":"./js/zxzj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_cntv_open","name":"视聚m","type":3,"api":"./js/cntv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_4KHDR","name":"4KHDR*","type":3,"api":"./lib/drpy2.min.js","ext":"./js/4khdr.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_极影网","name":"极影网*","type":3,"api":"./lib/drpy2.min.js","ext":"./js/jiyingw.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_MP4US","name":"MP4电影*","type":3,"api":"./lib/drpy2.min.js","ext":"./js/mp4us.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},

14
js.json
View File

@ -21,13 +21,13 @@
{"key":"drpy_js_极影网","name":"PG | 极影网[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/jiyingw.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_MP4US","name":"PG | MP4电影[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/mp4us.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_电影港","name":"PG | 电影港[js]","type":3,"api":"./lib/drpy2.min.js","ext":"./js/dygang.js","playerType":"1", "searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_boosj_open","name":"猫 | 童趣[js]","type":3,"api":"./lib/boosj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_tuxiaobei_open","name":"猫 | 兔小贝[js]","type":3,"api":"./lib/tuxiaobei_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_ubestkid_open","name":"猫 | 贝乐虎[js]","type":3,"api":"./lib/ubestkid_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_kuqimv_open","name":"猫 | 酷奇MV[js]","type":3,"api":"./lib/kuqimv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_dj0898_open","name":"猫 | 世纪DJ[js]","type":3,"api":"./lib/dj0898_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_zxzj_open","name":"猫 | 在线之家[js]","type":3,"api":"./lib/zxzj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_cntv_open","name":"猫 | 视聚场[js]","type":3,"api":"./lib/cntv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_boosj_open","name":"猫 | 童趣[js]","type":3,"api":"./js/boosj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_tuxiaobei_open","name":"猫 | 兔小贝[js]","type":3,"api":"./js/tuxiaobei_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_ubestkid_open","name":"猫 | 贝乐虎[js]","type":3,"api":"./js/ubestkid_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_kuqimv_open","name":"猫 | 酷奇MV[js]","type":3,"api":"./js/kuqimv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_dj0898_open","name":"猫 | 世纪DJ[js]","type":3,"api":"./js/dj0898_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_zxzj_open","name":"猫 | 在线之家[js]","type":3,"api":"./js/zxzj_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"drpy_js_cntv_open","name":"猫 | 视聚场[js]","type":3,"api":"./js/cntv_open.js","searchable":1, "quickSearch":1, "changeable":1},
{"key":"北极狐","name":"影视 | 北极狐[jar]","type":3,"api":"csp_AppYsV2","searchable":1,"quickSearch":1,"filterable":1,"ext":"https://www.kuin.one/api.php/app/"},
{"key":"迷你库","name":"影视 | 迷你库[jar]","type":3,"api":"csp_AppYsV2","searchable":1,"quickSearch":1,"filterable":1,"ext":"http://www.miniku.cc/xgapp.php/v1/"},

1
js/lib/ali.js Normal file
View File

@ -0,0 +1 @@
!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};

1
js/lib/ali_api.js Normal file

File diff suppressed because one or more lines are too long

1
js/lib/cat.js Normal file

File diff suppressed because one or more lines are too long

1
js/lib/similarity.js Normal file
View File

@ -0,0 +1 @@
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};

1
js/lib/utils.js Normal file
View File

@ -0,0 +1 @@
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};