mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #376] Unable to search artists (Hebrew language) #222
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#222
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 @dorsht on GitHub (May 15, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/376
Hello,
I'm trying to use spotipy in order to find some data about songs.
It works flawlessly with English, but when I'm trying to work with Hebrew, there are no results.
I tried to search the problem in Google, but I couldn't find anything relevant.
Code example:
client_credentials_manager = SpotifyClientCredentials(Some user info...)
spotify = spotipy.Spotify(client_credentials_manager=client_credentials_manager)
name = 'שלמה ארצי'
results = spotify.search(q='artist:'+name, type='artist')
print(results)
When I tried to search the artist with English name, It worked also.
Thank You.
@stephanebruckert commented on GitHub (Jan 12, 2020):
Hi, this works:
No need forartist:because you already specifytype='artist'. Read more aboutqueryhere https://developer.spotify.com/documentation/web-api/reference-beta/#writing-a-query---guidelines.We will try to include this "how-to" in the spotipy doc and as part of https://github.com/plamere/spotipy/issues/268@stephanebruckert commented on GitHub (Jan 12, 2020):
You were correct, I just found that
"artist:'שלמה ארצי'"does not work while"artist:'Eminem'"does.I created the issue in web-api for you https://github.com/spotify/web-api/issues/1435