mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-05-17 00:16:24 +03:00
Исправлен вывод результатов DPI (#13066)
This commit is contained in:
@@ -894,13 +894,20 @@ try {
|
|||||||
foreach ($targetRes in $results) {
|
foreach ($targetRes in $results) {
|
||||||
$id = $targetRes.TargetId
|
$id = $targetRes.TargetId
|
||||||
$provider = $targetRes.Provider
|
$provider = $targetRes.Provider
|
||||||
Add-Content $resultFile " Target: $id ($provider)"
|
$country = $targetRes.Country
|
||||||
|
if ($country) {
|
||||||
|
Add-Content $resultFile " Target: [$country] $id ($provider)"
|
||||||
|
} else {
|
||||||
|
Add-Content $resultFile " Target: $id ($provider)"
|
||||||
|
}
|
||||||
foreach ($line in $targetRes.Lines) {
|
foreach ($line in $targetRes.Lines) {
|
||||||
$test = $line.TestLabel
|
$test = $line.TestLabel
|
||||||
$code = $line.Code
|
$code = $line.Code
|
||||||
$size = $line.SizeKB
|
$up = $line.UpKB
|
||||||
|
$down = $line.DownKB
|
||||||
|
$time = $line.Time
|
||||||
$status = $line.Status
|
$status = $line.Status
|
||||||
Add-Content $resultFile " ${test}: code=${code} size=${size} KB status=${status}"
|
Add-Content $resultFile " ${test}: code=${code} up=${up} KB down=${down} KB time=${time}s status=${status}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user