#Surge #模块 #脚本 #chunked #Encoding #编码 #gb2312 #TextDecoder
"Transfer-Encoding":"chunked" & gb2312 编码抓取响应的例子
需要 Surge 开二进制 不然抓不全
gb2312 编码需要转换 需要加库(新版应该不需要第三方库了)
抛砖引玉
[Script]
189 = type=http-response,pattern=https?:\/\/gd\.189\.cn,requires-body=1,script-path=189.js,debug=1,binary-body-mode=1
[MITM]
hostname = %APPEND% gd.189.cn
访问 https://gd.189.cn/TS 然后查看日志
"Transfer-Encoding":"chunked" & gb2312 编码抓取响应的例子
需要 Surge 开二进制 不然抓不全
gb2312 编码需要转换 需要加库(新版应该不需要第三方库了)
抛砖引玉
[Script]
189 = type=http-response,pattern=https?:\/\/gd\.189\.cn,requires-body=1,script-path=189.js,debug=1,binary-body-mode=1
[MITM]
hostname = %APPEND% gd.189.cn
访问 https://gd.189.cn/TS 然后查看日志