diff --git a/zspotify.py b/zspotify.py index 6275e8c0..bb4584e4 100644 --- a/zspotify.py +++ b/zspotify.py @@ -129,7 +129,7 @@ def client(): playlistSongs = get_playlist_songs(token, playlist_id_str) name, creator = get_playlist_info(token, playlist_id_str) for song in playlistSongs: - downloadTrack(song['track']['id'], name + "/") + downloadTrack(song['track']['id'], sanitizeData(name) + "/") print("\n") else: downloadFromOurPlaylists()