You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I keep getting this error despite there already been a query_type in the code
please can you evaluate my python and see the issue. Thanks
Traceback (most recent call last):
File "E:\PythonAI\main.py", line 106, in
Savify.download(song_download, query_type=Type.TRACK)
TypeError: download() missing 1 required positional argument: 'query'
Screenshots
data=[]
with open('top50_songs.csv', newline='') as csvfile:
reader = csv.reader(csvfile)
for row in reader:
data.append(row)
col = [x[4] for x in data]
count = 1
Describe the bug
I keep getting this error despite there already been a query_type in the code
please can you evaluate my python and see the issue. Thanks
Traceback (most recent call last):
File "E:\PythonAI\main.py", line 106, in
Savify.download(song_download, query_type=Type.TRACK)
TypeError: download() missing 1 required positional argument: 'query'
Screenshots
data=[]
with open('top50_songs.csv', newline='') as csvfile:
reader = csv.reader(csvfile)
for row in reader:
data.append(row)
col = [x[4] for x in data]
count = 1
Savify(api_credentials=(cid, secret), quality=Quality.BEST, download_format=Format.MP3, path_holder=PathHolder(downloads_path='Saved'))
while count <50:
song_download = col[count]
song_download = song_download.replace('spotify:track:', 'https://open.spotify.com/track/')
Savify.download(song_download, query_type=Type.TRACK)
print(song_download)
count = count + 1
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: