diff --git a/SpotifyKeyDumper/Utils.cpp b/SpotifyKeyDumper/Utils.cpp index 27a7a2d..e18f937 100644 --- a/SpotifyKeyDumper/Utils.cpp +++ b/SpotifyKeyDumper/Utils.cpp @@ -351,13 +351,8 @@ std::string DownloadAudioData(std::string fileId, std::string uri, std::string k // Only try again on podcasts if (uri.length() > 15 && uri.compare(0, 15, "spotify:episode") == 0) { - std::cout << "Podcast key: " << Utils::HexString((BYTE*)&podcastKey, 16) << std::endl; - std::string podcastKeyStr = std::string(podcastKey, 16); - - std::cout << "podcastKeyStr = " << podcastKeyStr << std::endl; - // Try decryption again with podcast key - decAudioData = AttemptDecryption(audioData, podcastKeyStr); + decAudioData = AttemptDecryption(audioData, podcastKey); if (decAudioData.compare(0, 5, "Error") == 0) return "Error: Could not properly decrypt podcast data (try downloading again)!"; @@ -414,11 +409,6 @@ void Utils::DownloadSong(std::string fileId, std::string uri, std::string key, s return; } - std::cout << "fileId = " + fileId << std::endl; - std::cout << "uri = " + uri << std::endl; - std::cout << "key = " + key << std::endl; - std::cout << "keyHex = " + Utils::HexString((BYTE*)&key[0], 16) << std::endl; - if (uri.compare(0, 13, "spotify:track") == 0) { // Not an episode which means no predictable key