mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #880] Error #539
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ameliameyer on GitHub (Nov 8, 2022).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/880
When running:
# create an empty dictionary for the audio featuresaudio_features = {}# for the ids in our dataset, find the audio feature valuesfor idd in liked_songs['id'].tolist():audio_features[idd] = spotipy_obj.audio_features(idd)[0]I get the error
ReadTimeout: HTTPSConnectionPool(host='api.spotify.com', port=443): Read timed out. (read timeout=5)My code was working before but now it's not.
@dieser-niko commented on GitHub (Nov 14, 2022):
Apparently this can happen from time to time. As a workaround, you could use a try except to fetch the
ReadTimeouterror and then call the function again (either with a while True loop or as mentioned here).Since this has never happened to me, I can't really test this, so good luck.
@dieser-niko commented on GitHub (May 21, 2024):
Closing as there's no activity.