mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #1076] Spotipy.search is returning incorrec Artist Info when limit set to 1 #635
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#635
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 @XavaarQ on GitHub (Mar 1, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1076
Describe the bug
Spotipy.search is returning incorrect Artist Info when limit set to 1 for example information for Drake is returned when Taylor swift is searched. If limit is set >1 then the first entry is the correct artist.
Your code
spotipy = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope))
spotipy.search(q='Taylor Swift', type='artist', limit=1)
Expected behavior
Artist info for the artist searched for should be returned when limit is set to 1
Output
Environment:
Additional context
This function was returning correct info yesterday Feb 29th, 2024
@dieser-niko commented on GitHub (Apr 22, 2024):
This is more or less a problem with Spotify's API, not Spotipy. It also seems to be fixed now, at least I couldn't replicate the issue.
@dieser-niko commented on GitHub (May 23, 2024):
Any updates so far? Please close the issue if your problem has been resolved.