mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2024-11-26 09:53:17 +01:00
Hopefully fixed issue of not sanitizing playlist names
This commit is contained in:
parent
a113f51845
commit
9aa3b48418
@ -129,7 +129,7 @@ def client():
|
|||||||
playlistSongs = get_playlist_songs(token, playlist_id_str)
|
playlistSongs = get_playlist_songs(token, playlist_id_str)
|
||||||
name, creator = get_playlist_info(token, playlist_id_str)
|
name, creator = get_playlist_info(token, playlist_id_str)
|
||||||
for song in playlistSongs:
|
for song in playlistSongs:
|
||||||
downloadTrack(song['track']['id'], name + "/")
|
downloadTrack(song['track']['id'], sanitizeData(name) + "/")
|
||||||
print("\n")
|
print("\n")
|
||||||
else:
|
else:
|
||||||
downloadFromOurPlaylists()
|
downloadFromOurPlaylists()
|
||||||
|
Loading…
Reference in New Issue
Block a user