Add files via upload

This commit is contained in:
dxawi 2023-09-19 15:31:44 +08:00 committed by GitHub
parent 8065876eb1
commit 244e25dd9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 44 deletions

2
lib/drpy.min.js vendored

File diff suppressed because one or more lines are too long

2
lib/drpy2.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,3 @@
/***
* gbk编码解码函数
* strTool = gbkTool() strTool.encode(key)
* @returns {{encode: (function(*): *), decode: (function(*): *)}}
*/
export function gbkTool() {
var data = function(zipData) {
var re = zipData
@ -36,9 +31,11 @@ export function gbkTool(){
G2Uhash[U2Ghash[key]] = key;
}
}(data);
function isAscii(unicode) {
return ((unicode == 0x20AC) || (unicode <= 0x007F && unicode >= 0x0000));
}
return {
encode: function(str) {
return str.replace(/./g, function(a) {

View File

@ -270,7 +270,7 @@ function getMubans() {
host: '',
class_name:'电影&电视剧&综艺&动漫',
class_url:'1&2&3&4',
searchUrl: '/index.php/ajax/suggest?mid=1&wd=**',
searchUrl: '/index.php/ajax/suggest?mid=1&wd=**&limit=50',
searchable: 2,
quickSearch: 0,
headers:{'User-Agent':'MOBILE_UA'},
@ -280,6 +280,9 @@ function getMubans() {
filter: {},
filter_def:{},
detailUrl:'/index.php/vod/detail/id/fyid.html',
play_parse: true,
lazy: '',
limit: 6,
推荐:'.list-vod.flex .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});',
二级:{