Add files via upload

This commit is contained in:
n3rddd 2024-07-10 23:41:21 +08:00 committed by GitHub
parent e4a2db001f
commit 6661e3fd8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ function pre() {
let rule = {};
let vercode = typeof (pdfl) === 'function' ? 'drpy2.1' : 'drpy2';
const VERSION = vercode + ' 3.9.50beta32 20240625';
const VERSION = vercode + ' 3.9.50beta33 20240709';
/**
* 1.影魔的jinjia2引擎不支持 {{fl}}对象直接渲染 (有能力解决的话尽量解决下支持对象直接渲染字符串转义,如果加了|safe就不转义)[影魔牛逼最新的文件发现这问题已经解决了]
* Array.prototype.append = Array.prototype.push; 这种js执行后有毛病,for in 循环列表会把属性给打印出来 (这个大毛病需要重点排除一下)
@ -2202,7 +2202,7 @@ function categoryParse(cateObj) {
}
}
let new_url;
new_url = cheerio.jinja2(url, {fl: fl});
new_url = cheerio.jinja2(url, {fl: fl, fyclass: cateObj.tid});
// console.log('jinjia2执行后的new_url类型为:'+typeof(new_url));
url = new_url;
}

File diff suppressed because one or more lines are too long