Replace '/' with '-', open() method not support '/' yet!
This commit is contained in:
parent
f5bc763ab3
commit
b34b7d5df4
|
@ -19,7 +19,7 @@ def download_song_by_song(song, download_folder, sub_folder=True):
|
|||
# get song info
|
||||
api = CloudApi()
|
||||
song_id = song['id']
|
||||
song_name = song['name']
|
||||
song_name = song['name'].replace('/', '-') # Replace '/' with '-', open() method not support '/' yet!
|
||||
artist_name = song['artists'][0]['name']
|
||||
album_name = song['album']['name']
|
||||
|
||||
|
|
Loading…
Reference in New Issue