mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #1079] Dots in artists names #639
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#639
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 @xcrittpm on GitHub (Mar 22, 2024).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/1079
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
@xcrittpm commented on GitHub (Mar 28, 2024):
Anyone know any solution?
Thanks
@dieser-niko commented on GitHub (Mar 29, 2024):
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.
@Voltaic314 commented on GitHub (Mar 31, 2024):
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.
@itsbekas commented on GitHub (Apr 12, 2024):
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:
and the output was, as expected:
@dieser-niko commented on GitHub (May 23, 2024):
@borja190898 any updates so far? Could you post a code snippet?
@stephanebruckert commented on GitHub (Jul 9, 2024):
Closing as this seems to work and no snippet was provided