So I have a really large list of spotify songs (almost 50.000 rows). Each row contains a spotify song, specified by the name of the song and name of the artist. I need to print the track id's for each song in the previous file. I tried doing this for each row in the file
results = spotify.search(q='artist:' + artist + ' track:' + title, type='track')
trackId = results['tracks']['items'][0]['id']
This is way too slow. I believe the problem is that I do too many requests at the spotify servers. Is there any faster way to solve my problem? Thanks you very much