From 50604a491e7798ec12eb88a5164130c92f97bdb6 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Tue, 29 Jul 2025 20:41:09 +0300 Subject: [PATCH] host fixed --- ms-spotify-check.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ms-spotify-check.ps1 b/ms-spotify-check.ps1 index f5f1f55..5c639ea 100644 --- a/ms-spotify-check.ps1 +++ b/ms-spotify-check.ps1 @@ -46,19 +46,19 @@ function Get-LatestSpotifyVersion { $session = New-Object Microsoft.PowerShell.Commands.WebRequestSession $session.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" - $url = "https://store.rg-adguard.net/api/GetFiles" + $url = "https://ru.store.rg-adguard.net/api/GetFiles" $body = "type=url&url=https://apps.microsoft.com/detail/9ncbcszsjrsb&gl=US&ring=RP&lang=en" $headers = @{ - "authority" = "store.rg-adguard.net" + "authority" = "ru.store.rg-adguard.net" "method" = "POST" "path" = "/api/GetFiles" "scheme" = "https" "accept" = "*/*" "accept-language" = "ru,ru-RU;q=0.9,en;q=0.8" "dnt" = "1" - "origin" = "https://store.rg-adguard.net" + "origin" = "https://ru.store.rg-adguard.net" "priority" = "u=1, i" - "referer" = "https://store.rg-adguard.net/" + "referer" = "https://ru.store.rg-adguard.net/" "sec-ch-ua" = '"Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"' "sec-ch-ua-mobile" = "?0" "sec-ch-ua-platform" = '"Windows"'