修复 CFST新版本下获取不到第一行 IP 的问题

This commit is contained in:
xiu2
2025-12-15 13:29:48 +08:00
parent b955387787
commit 6eaacd6b2c
4 changed files with 39 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
:: --------------------------------------------------------------
:: <09><>Ŀ: CloudflareSpeedTest <20>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD> 3Proxy
:: <09>汾: 1.0.5
:: <09>汾: 1.0.6
:: <09><><EFBFBD><EFBFBD>: XIU2
:: <09><>Ŀ: https://github.com/XIU2/CloudflareSpeedTest
:: --------------------------------------------------------------
@@ -67,13 +67,11 @@ if not exist result_3proxy.txt (
)
:: <20><>ȡ<EFBFBD><C8A1>һ<EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD><EFBFBD> IP
for /f "tokens=1 delims=," %%i in (result_3proxy.txt) do (
set /a n+=1
If !n!==2 (
set bestip=%%i
goto :END
)
for /f "skip=1 tokens=1 delims=," %%i in ('more result_3proxy.txt') do (
SET bestip=%%i
goto :END
)
:END
:: <20>жϸոջ<D5B8>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> IP <20>Ƿ<EFBFBD>Ϊ<EFBFBD>գ<EFBFBD><D5A3>Լ<EFBFBD><D4BC>Ƿ<EFBFBD><C7B7>;<EFBFBD> IP һ<><D2BB>