mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #323] Spotify.artist_albums acts as Spotify.artist when passing HTTP artist URL #185
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#185
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 @ritiek on GitHub (Oct 2, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/323
When
Spotify.artist_albumsis given an HTTP artist URL likehttps://open.spotify.com/artist/7oPftvlwr6VrsViSDV7fJY?si=M3PrzRC4TBOZu8YyLYc-tA, it behaves same asSpotify.artistand instead of returning the albums, it just returns artist info. However, it works fine if artist URI is passed likespotify:artist:7oPftvlwr6VrsViSDV7fJYand then it returns albums as expected.For example:
@ritiek commented on GitHub (Oct 7, 2018):
I get this part of the URL
?si=<some_weird_key>(https://open.spotify.com/artist/7oPftvlwr6VrsViSDV7fJY?si=M3PrzRC4TBOZu8YyLYc-tA) at the end only when selecting copy link from the Spotify desktop app. Searching on the web for spotify artists/songs does not contain this part in the URL.@ritiek commented on GitHub (Jan 13, 2020):
Fixed by #420.