你好,这里是虎绿林。
微信 SwimmingTiger(加好友备注hu60,否则不容易通过),手机 18502433620(仅短信,拒接来电),邮箱 hu60.cn@qq.com(不常看),QQ 905172616(较少上线)
虽然 XSLT 最初被设计为用于 XML 转换的专用语言,但该语言是图灵完备的,这使得它理论上能够进行任意计算。
XSLT 2.0 最重要的创新包括:
使用正则表达式进行字符串操作
XSLT 3.0
支持映射和数组,使 XSLT 能够处理 JSON 和 XML。
改进了对动态错误的处理,例如使用 xsl:try 指令。
https://en.m.wikipedia.org/wiki/XSLT

@无名啊,搜“XSLT html to json”可以看到一些案例。
比如这个:
https://stackoverflow.com/questions/18055368/html-to-json-conversion-in-xslt
@无名啊,这是最接近你想要的东西:
XSLTJSON: Transforming XML to JSON using XSLT
https://github.com/bramstein/xsltjson
XSLT是一种样式表,用于把XML转换为其他表现形式(比如可显示的HTML,甚至是JSON)。该样式表也可以用于验证输入是否与样式匹配。
不过HTML不是严格的XML,不清楚解析器是否能正确处理HTML中的宽松语法。
PHP版:https://symfony.com/doc/current/components/dom_crawler.html
If you prefer CSS selectors over XPath, install The CssSelector Component. It allows you to use jQuery-like selectors:
$crawler = $crawler->filter('body > p');
querySelector的nodejs版本:
https://www.npmjs.com/package/query-selector
@无名啊,验证不了解。最好的html内容提取工具是浏览器的document.querySelector(),我在chatgpt机器人里有很多应用。
@rkonfj,是
除了SELinux,AppArmor也可以用于控制文件权限,Ubuntu默认启用,sudo aa-status可以查看应用的规则。
SELinux和AppArmor都属于“强制访问控制”(MAC),而其他方法属于自主访问控制(DAC)。
@艾木友尔尔巴,问爱特要v4
@TabKey9,csnet v4的ip可以,虎绿林机器人一直在用。
应楼主请求撤销意外删除:
update hu60_bbs_topic_meta set locked=0 where id=104258;
update hu60_bbs_topic_content set content=(select content from hu60_msg where touid=22282 and byuid=22282 order by id desc limit 1), locked=0 where id=799078;

@rkonfj,嗯确实在116上没问题,只能认为是115.0.5790.171的bug。
@rkonfj,chrome现在不支持id='chat--50'这种两个减号的id了。
chatItem.id = `chat-${chat.uid}`
@rkonfj,在Chrome 115.0.5790.171上有兼容性问题:
function initChatWindowData() {
renderChatList()
document.querySelector(`#chat-${window.hu60_hu60bot_uid}`)
.click()
}
window.hu60_hu60bot_uid
-50
document.querySelector(`#chat-${window.hu60_hu60bot_uid}`)
null
22780_public_hu60bot.js:105 Uncaught TypeError: Cannot read properties of null (reading 'click')
at initChatWindowData (22780_public_hu60bot.js:105:9)
at initHu60botChat (22780_public_hu60bot.js:99:5)
at startPlugin (22780_public_hu60bot.js:18:5)
at 22780_public_hu60bot.js:770:1
@ponyoung,哦对了,你的安装来源是浏览器啊,别用浏览器点安装,从华为自带文件管理器点安装,就能安装了。

@ponyoung,还可以打开飞行模式再安装,就不能联网验证了。不过我联网验证后依然可以继续安装。如果你没有打开开发人员模式,可以先打开看看安装过程有没有变化。
@ponyoung,我也是,但我可以安装。

@ponyoung,把文件发我试试
这个“增强防护”其实就是以前的纯净模式开关。华为只是把以前的“应用安全检测”叫做“纯净模式”,把以前的“纯净模式”叫做“纯净模式增强防护”而已。


@水木易安,争议发言已移除
@无名啊,用vbr啊,cbr是那种“就算画面很简单也要保证比特率不下降”的模式,通常用于直播,因为直播比特率上下起伏会卡。