[GH-ISSUE #200] get Url of any particular request #102

Closed
opened 2026-02-27 23:20:50 +03:00 by kerem · 1 comment
Owner

Originally created by @VictorXLR on GitHub (Jul 2, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/200

Hi,
I noticed that you cant get the specific url from a search input. not the spotify url
spotify:artist:3jOstUTkEu2JkjvRdBA5Gu but the http url. I am very new to this so this might also be from my end.
I mean like if i could get the spotify url for any song, playlist or album.
Thanks

Originally created by @VictorXLR on GitHub (Jul 2, 2017). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/200 Hi, I noticed that you cant get the specific url from a search input. not the spotify url ```spotify:artist:3jOstUTkEu2JkjvRdBA5Gu``` but the http url. I am very new to this so this might also be from my end. I mean like if i could get the spotify url for any song, playlist or album. Thanks
kerem closed this issue 2026-02-27 23:20:50 +03:00
Author
Owner

@steinitzu commented on GitHub (Jul 5, 2017):

HTTP URL is under external_urls on all objects that support it (artists, playlists, tracks, albums, etc)
e.g.

artist = spotify.artist('3jOstUTkEu2JkjvRdBA5G)
url = artist['external_urls']['spotify']
print(url)
# https://open.spotify.com/artist/3jOstUTkEu2JkjvRdBA5G

https://developer.spotify.com/web-api/object-model/#artist-object-simplified

<!-- gh-comment-id:313180738 --> @steinitzu commented on GitHub (Jul 5, 2017): HTTP URL is under `external_urls` on all objects that support it (artists, playlists, tracks, albums, etc) e.g. ```python artist = spotify.artist('3jOstUTkEu2JkjvRdBA5G) url = artist['external_urls']['spotify'] print(url) # https://open.spotify.com/artist/3jOstUTkEu2JkjvRdBA5G ``` https://developer.spotify.com/web-api/object-model/#artist-object-simplified
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#102
No description provided.