mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #351] artist_albums() does not return all albums of an artist #202
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#202
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 @flotux2 on GitHub (Feb 4, 2019).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/351
Hi,
from the example script artist_albums.py I used the following code snippet to get all albums from an artist:
I noticed that that will not return all albums of the artist. In my case there are over 60 albums available inside the Spotify app but in my Python script artis_album() return only 41 albums. I already experimented with the album_type and limit parameters. But that doesn't help.
Any idea how to get alle albums of an artist?
Thanks and kind regards
Florian
@ritiek commented on GitHub (Feb 4, 2019):
Could you provide the Spotify URL of the artist you are trying to fetch albums of?
@flotux2 commented on GitHub (Feb 4, 2019):
The URL is:
https://open.spotify.com/artist/0jRC2uXx4hEpqNrBDJdY7l?si=7oAzQqiVQD6smYAljwkRqQ
The artist's name is "Conni", the protagonist of a famous German radio play for children. 😉
@flotux2 commented on GitHub (Feb 4, 2019):
The strange thing is that I can get all the albums with the Spotify Web API console. I get the maximium 50 results due to the limit and see the link to the next results.
@ritiek commented on GitHub (Feb 5, 2019):
That is weird. I tried the same code as you and was able to fetch 60 albums:
Code
Output
@flotux2 commented on GitHub (Feb 5, 2019):
Hi ritiek,
thanks a lot for sharing your code. With this code I get all the albums like you got. So obviously there was an error in my code.
Kind regards
Florian
@stephanebruckert commented on GitHub (Jan 1, 2020):
Thanks @ritiek