From 72643f806781906a4028ea4c801829fc486b74d8 Mon Sep 17 00:00:00 2001 From: _ <🐱> Date: Wed, 2 Dec 2020 17:00:10 -0700 Subject: [PATCH] Revert storage resolve URL scheme to old version to fix support for premium users --- SpotifyKeyDumper/Utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpotifyKeyDumper/Utils.cpp b/SpotifyKeyDumper/Utils.cpp index 10ba108..510ccba 100644 --- a/SpotifyKeyDumper/Utils.cpp +++ b/SpotifyKeyDumper/Utils.cpp @@ -289,7 +289,8 @@ void Utils::DownloadSong(std::string fileId, std::string uri, std::string key, s // Get storage resolve from Spotify std::string urlNum = std::to_string(GetUrlNum(quality)); std::string srStr = DownloadSpotifyUrl("spclient.wg.spotify.com", - "/storage-resolve/v2/files/audio/interactive/" + urlNum + "/" + fileId + "?product=0", authToken); + "/storage-resolve/files/audio/interactive_prefetch/" + fileId + "?product=0", authToken); + //"/storage-resolve/v2/files/audio/interactive/" + urlNum + "/" + fileId + "?product=0", authToken); if (srStr.length() <= 5) {