-
Notifications
You must be signed in to change notification settings - Fork 954
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dots in artists names #1079
Comments
Anyone know any solution? |
I'm not at home currently but one thing to try out would be to use alphanumeric characters only. So instead of C.R.O. just CRO And also I just tested what would happen when I search the artist and found out that he actually calls himself CRO on spotify. It's just CRO either way. But still, it seems that the application doesn't seem to have that problem. I'll look into this as soon as possible. Edit: I just assumed you meant the german artist, who is also called CRO, whoops. |
I don't think this really needs fixing necessarily because some artists do actually have certain characters in their spotify names. Like "S. Carey" for example. But you could try to do a recursive search where it searches what the user wants and then if no results show then try without the characters for example maybe. |
Hey, can you show us how you tried to search for this artist? I just tested the following snippet with the artist you used as an example: s = Spotify(client_credentials_manager=SpotifyClientCredentials())
cro = s.search('C.R.O', type='artist')
data = cro['artists']['items'][0]['name']
print(data) and the output was, as expected:
|
@borja190898 any updates so far? Could you post a code snippet? |
Hello, when I try to search for an artist by name and the name has dots or strange characters (for example C.R.O), it does not find it and detects it as if it were a different one.
How could this be avoided?
Thank you
The text was updated successfully, but these errors were encountered: