Hopefully fixed issue of not sanitizing playlist names

This commit is contained in:
Footsiefat 2021-10-19 10:57:12 +13:00 committed by GitHub
parent a113f51845
commit 9aa3b48418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()