Pending changes exported from your codespace

This commit is contained in:
Liu
2024-10-12 14:20:21 +00:00
parent 608d02b77e
commit 88fe063f82
12 changed files with 32 additions and 8 deletions

View File

@@ -144,6 +144,10 @@
"channellist":"oneonefivewpfx,hao115,guaguale115,Channel_Shares_115,dianyingshare,XiangxiuNB,yunpanpan,kuakeyun,zaihuayun,Quark_Movies,vip115hot,yunpanshare,shareAliyun,ikiviyyp,alyp_1,quanziyuanshe",
"proxy":"proxy",
"danmu":true
},
"style": {
"type": "rect",
"ratio": 1.77
}
},
{"key":"TGYunPan","name":"TG群组搜索","type":3,"api":"csp_TGYunPan","timeout":120,
@@ -156,6 +160,10 @@
"channellist":"alypzyhzq|1000,Mbox115|1000,shares_115|1000,Quark_Share_Channel|1000,Aliyundrive_Share_Channel|1000,wanwansubchat|1000",
"proxy":"noproxy",
"danmu":true
},
"style": {
"type": "rect",
"ratio": 1.77
}
},
{"key":"Wogg","name":"玩偶哥哥|网盘","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/tokenm.json$$$https://wogg.888484.xyz/$$$noproxy$$$1$$$./lib/wogg.json$$$WOGG"},

View File

@@ -144,6 +144,10 @@
"channellist":"oneonefivewpfx,hao115,guaguale115,Channel_Shares_115,dianyingshare,XiangxiuNB,yunpanpan,kuakeyun,zaihuayun,Quark_Movies,vip115hot,yunpanshare,shareAliyun,ikiviyyp,alyp_1,quanziyuanshe",
"proxy":"proxy",
"danmu":true
},
"style": {
"type": "rect",
"ratio": 1.77
}
},
{"key":"TGYunPan","name":"TG群组搜索","type":3,"api":"csp_TGYunPan","timeout":120,
@@ -156,6 +160,10 @@
"channellist":"alypzyhzq|1000,Mbox115|1000,shares_115|1000,Quark_Share_Channel|1000,Aliyundrive_Share_Channel|1000,wanwansubchat|1000",
"proxy":"noproxy",
"danmu":true
},
"style": {
"type": "rect",
"ratio": 1.77
}
},
{"key":"Wogg","name":"玩偶哥哥|网盘","type":3,"api":"csp_Wogg","quickSearch":1, "changeable":1, "filterable":1, "timeout":60, "ext":"./lib/tokenm.json$$$https://wogg.888484.xyz/$$$noproxy$$$1$$$./lib/wogg.json$$$WOGG"},

Binary file not shown.

View File

@@ -1 +1 @@
ae7f92eda00e53222cb1927888fa6d8c
a0dcc1ef8794daa9f5a1f722b9d4d2a9

BIN
PG/pg.jar

Binary file not shown.

View File

@@ -1 +1 @@
f4f4d6efe65cf29ed11833b9b7fcd41e
9da189ca1cbaa1b127dd01e5f61bba5a

View File

@@ -279,7 +279,7 @@ function pre() {
let rule = {};
let vercode = typeof (pdfl) === 'function' ? 'drpy2.1' : 'drpy2';
const VERSION = vercode + ' 3.9.51beta2 20240711';
const VERSION = vercode + ' 3.9.51beta3 20241012';
/** 已知问题记录
* 1.影魔的jinjia2引擎不支持 {{fl}}对象直接渲染 (有能力解决的话尽量解决下,支持对象直接渲染字符串转义,如果加了|safe就不转义)[影魔牛逼,最新的文件发现这问题已经解决了]
* Array.prototype.append = Array.prototype.push; 这种js执行后有毛病,for in 循环列表会把属性给打印出来 (这个大毛病需要重点排除一下)
@@ -3148,8 +3148,12 @@ function init(ext) {
if (typeof ext == 'object') {
rule = ext;
} else if (typeof ext == 'string') {
if (ext.startsWith('http') || ext.startsWith('file://')) {
let is_file = ext.startsWith('file://');
if (ext.startsWith('http') || is_file) {
let query = getQuery(ext); // 获取链接传参
if(is_file){
ext = ext.split('?')[0];
}
let js = request(ext, {'method': 'GET'});
if (js) {
js = getOriginalJs(js);
@@ -3158,7 +3162,11 @@ function init(ext) {
eval("(function(){" + js.replace('var rule', 'rule') + "})()");
}
if (query.type === 'url' && query.params) { // 指定type是链接并且传了params支持简写如 ./xx.json
rule.params = urljoin(ext, query.params);
if(is_file && /^http/.test(query.params)){
rule.params = query.params;
}else {
rule.params = urljoin(ext, query.params);
}
} else if (query.params) { // 没指定type直接视为字符串
rule.params = query.params;
}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@@ -1 +1 @@
f4f4d6efe65cf29ed11833b9b7fcd41e
9da189ca1cbaa1b127dd01e5f61bba5a

Binary file not shown.

View File

@@ -1 +1 @@
ae7f92eda00e53222cb1927888fa6d8c
a0dcc1ef8794daa9f5a1f722b9d4d2a9