feat: 广电加密参数改为按脚本内容读取

This commit is contained in:
Nixevol
2026-10-16 00:11:01 +08:00
parent efd21d3cf8
commit 76294270bf
4 changed files with 104 additions and 20 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/dop251/goja"
)
// 只在返回人机校验页时执行官网自己的脚本,平时的查询走 Go,不常驻解释器。
// 只在返回人机校验页时执行官网自己的脚本。业务加解密在密钥和原生结果对应上之后走 Go。
func solveACW(html string) (string, error) {
parts := extractScripts(html)
if len(parts) < 2 {