mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #299] Stop at 50 tracks #170
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#170
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 @ghost on GitHub (Jun 17, 2018).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/299
I have tried to see information with Unleashed album by Two Steps From Well and I don't know why the items are only 50 if the songs are 56. (Sorry for my english)
@ritiek commented on GitHub (Jun 19, 2018):
Spotify API returns the first page and each page contains maximum 50 songs. To fetch rest of the songs, you need fetch more pages.
I do something like this to workaround this problem:
github.com/ritiek/spotify-downloader@0a3b7bd7d8/core/spotify_tools.py (L162-L181)So, you might have to structure your code something like this:
If you're still facing problems, share your code here and we'll try to figure out. Remember to remove your credentials.
(P.S. Your english is pretty good :)
@ghost commented on GitHub (Jun 20, 2018):
Thanks very much for the answer, maybe you will be happy know that I have used your spotify-dowloader some time ago.