Hopefully fixed issue of not sanitizing playlist names

This commit is contained in:
Footsiefat authored and GitHub committed 2021-10-19 10:57:12 +13:00
1 parent a113f51845
commit 9aa3b48418
1 file changed
+1 -1
+1 -1
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()