diff --git a/SpotifyKeyDumper/Utils.cpp b/SpotifyKeyDumper/Utils.cpp index 966e65b..3d9ec58 100644 --- a/SpotifyKeyDumper/Utils.cpp +++ b/SpotifyKeyDumper/Utils.cpp @@ -177,7 +177,7 @@ void Utils::DownloadSong(std::string fileId, std::string trackUri, std::string k AES_CTR_xcrypt_buffer(&ctx, reinterpret_cast(&songStr[0]), songStr.size()); // Remove custom Spotify Ogg page from beginning of file - songStr = songStr.substr(songStr.find("˙˙˙˙OggS") + 4); + songStr = songStr.substr(songStr.find("\xFF\xFF\xFF\xFFOggS") + 4); if (!trackUri.empty()) {