Add files via upload
This commit is contained in:
parent
052a60989b
commit
2ba384c88e
@ -55,7 +55,7 @@ function pre(){
|
||||
}
|
||||
|
||||
let rule = {};
|
||||
const VERSION = 'drpy1 3.9.47beta23 20230804';
|
||||
const VERSION = 'drpy1 3.9.47beta32 20230911';
|
||||
/** 已知问题记录
|
||||
* 1.影魔的jinjia2引擎不支持 {{fl}}对象直接渲染 (有能力解决的话尽量解决下,支持对象直接渲染字符串转义,如果加了|safe就不转义)[影魔牛逼,最新的文件发现这问题已经解决了]
|
||||
* Array.prototype.append = Array.prototype.push; 这种js执行后有毛病,for in 循环列表会把属性给打印出来 (这个大毛病需要重点排除一下)
|
||||
@ -2424,8 +2424,8 @@ function proxy(params){
|
||||
if(rule.proxy_rule&&rule.proxy_rule.trim()){
|
||||
rule.proxy_rule = rule.proxy_rule.trim();
|
||||
}
|
||||
if(rule.proxy_rule.startsWith(':js')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace(':js','');
|
||||
if(rule.proxy_rule.startsWith('js:')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace('js:','');
|
||||
}
|
||||
let proxyObj = {
|
||||
params:params,
|
||||
@ -2452,16 +2452,17 @@ function sniffer(){
|
||||
*/
|
||||
function isVideo(url){
|
||||
let t = 0;
|
||||
let is_video;
|
||||
if(rule.isVideo &&rule.isVideo.trim()){
|
||||
rule.isVideo = rule.isVideo.trim();
|
||||
is_video = rule.isVideo.trim();
|
||||
}
|
||||
if(rule.isVideo.startsWith(':js')){
|
||||
rule.isVideo = rule.isVideo.replace(':js','');
|
||||
if(is_video.startsWith('js:')){
|
||||
is_video = is_video.replace('js:','');
|
||||
t = 1;
|
||||
}
|
||||
let isVideoObj = {
|
||||
url:url,
|
||||
isVideo:rule.isVideo,
|
||||
isVideo:is_video,
|
||||
t:t,
|
||||
};
|
||||
return isVideoParse(isVideoObj)
|
||||
|
2
JN/dr_py/libs/drpy.min.js
vendored
2
JN/dr_py/libs/drpy.min.js
vendored
File diff suppressed because one or more lines are too long
@ -41,7 +41,7 @@ function pre(){
|
||||
|
||||
let rule = {};
|
||||
let vercode = typeof(pdfl) ==='function'?'drpy2.1':'drpy2';
|
||||
const VERSION = vercode+' 3.9.47beta23 20230804';
|
||||
const VERSION = vercode+' 3.9.47beta32 20230911';
|
||||
/** 已知问题记录
|
||||
* 1.影魔的jinjia2引擎不支持 {{fl}}对象直接渲染 (有能力解决的话尽量解决下,支持对象直接渲染字符串转义,如果加了|safe就不转义)[影魔牛逼,最新的文件发现这问题已经解决了]
|
||||
* Array.prototype.append = Array.prototype.push; 这种js执行后有毛病,for in 循环列表会把属性给打印出来 (这个大毛病需要重点排除一下)
|
||||
@ -2302,8 +2302,8 @@ function proxy(params){
|
||||
if(rule.proxy_rule&&rule.proxy_rule.trim()){
|
||||
rule.proxy_rule = rule.proxy_rule.trim();
|
||||
}
|
||||
if(rule.proxy_rule.startsWith(':js')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace(':js','');
|
||||
if(rule.proxy_rule.startsWith('js:')){
|
||||
rule.proxy_rule = rule.proxy_rule.replace('js:','');
|
||||
}
|
||||
let proxyObj = {
|
||||
params:params,
|
||||
@ -2331,16 +2331,17 @@ function sniffer(){
|
||||
*/
|
||||
function isVideo(url){
|
||||
let t = 0;
|
||||
let is_video;
|
||||
if(rule.isVideo &&rule.isVideo.trim()){
|
||||
rule.isVideo = rule.isVideo.trim();
|
||||
is_video = rule.isVideo.trim();
|
||||
}
|
||||
if(rule.isVideo.startsWith(':js')){
|
||||
rule.isVideo = rule.isVideo.replace(':js','');
|
||||
if(is_video.startsWith('js:')){
|
||||
is_video = is_video.replace('js:','');
|
||||
t = 1;
|
||||
}
|
||||
let isVideoObj = {
|
||||
url:url,
|
||||
isVideo:rule.isVideo,
|
||||
isVideo:is_video,
|
||||
t:t,
|
||||
};
|
||||
return isVideoParse(isVideoObj)
|
||||
|
2
JN/dr_py/libs/drpy2.min.js
vendored
2
JN/dr_py/libs/drpy2.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user