mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[GH-ISSUE #734] continuations are no longer returned (max 100 items) #477
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#477
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 @yojimbo94 on GitHub (Jan 31, 2025).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/734
When requesting my liked songs, i get only 100 tracks, despite having limit set to higher than 100.
In the response,
trackCountis correct (1063 in my case).@initrunlevel0 commented on GitHub (Feb 1, 2025):
I confirmed the similar bug with playlist, seems API bug from YTM currently (01/02/2025 06:38 UTC). The problem is that I always got len(tracks) = 100 no matter what even when the playlist has more than 100 songs.
@sigma67 commented on GitHub (Feb 1, 2025):
Which type of authentication are you using? There is a test for exactly this case and it succeeded yesterday, so it's quite unlikely this is an issue with the lib
@initrunlevel0 commented on GitHub (Feb 1, 2025):
I dont uses any particular authentication, trying to get a list from a Public Playlist
tried using limit=50, 100, 200. nothing works, tracks always output 100 items.
EDIT: I also tried using oauth, no effects
@juampiq6 commented on GitHub (Feb 1, 2025):
same issue happening with the limit for search function (always 20, even if i put 1)
@yojimbo94 commented on GitHub (Feb 1, 2025):
I was still using the browser auth workaround from when the auth was broken.
I set up new oauth credentials, following the documentation : https://ytmusicapi.readthedocs.io/en/stable/setup/oauth.html
Authentication worked perfectly, but i still have only 100 tracks coming out of the
get_liked_songs()query@sigma67 commented on GitHub (Feb 1, 2025):
There has been a server-side update that changes how continuations work. Previously the token was returned under
sectionList, now it is the last item in the returned list (i.e. item 101 if there are more than 100 results).Working on a fix
@sigma67 commented on GitHub (Feb 1, 2025):
The linked fix seems to work for me. For albums I'm seeing some strange behavior though
for https://music.youtube.com/playlist?list=OLAK5uy_noLNRtYnrcRVVO9rOyGMx64XyjVSCz1YU I am getting 200 items returned on the Web. With the test I'm getting 500 (more than the advertised 456), with some items repeating (??)
@juampiq6 The issue with the search function does not exist, please read the docs: https://ytmusicapi.readthedocs.io/en/stable/faq.html#why-is-ytmusicapi-returning-more-results-than-requested-with-the-limit-parameter
@initrunlevel0 commented on GitHub (Feb 2, 2025):
With my 118 songs playlist (PLQym-sGkzU7PtsnhB392EClgAb2TE-Cx7)
It just repeated first 100 songs, twices. (len = 200). The remaining 18 songs does not included inside ["tracks"]
@walhalla247 commented on GitHub (Feb 2, 2025):
for me too, the first 100 songs will only be duplicated in returned tracks 100...200, 200...300, and so on
@sigma67 commented on GitHub (Feb 2, 2025):
Sorry about that, was a long day yesterday. Was a fairly obvious issue in hindsight. Will merge & release a patch