Is your feature request related to a problem? Please describe.
Yes. The get_album() method has a limit parameter, but it only limits how many tracks are retrieved starting from the beginning of the playlist. This becomes inefficient when dealing with large playlists. Setting limit=None doesn't fetch all tracks either (possibly due to a YouTube-imposed limit); I only get 1914 out of 2054 tracks of my liked songs playlist
Describe the solution you'd like
It would be helpful to have support for pagination via offset and count parameters (or similar). For example, to retrieve tracks in batches, one could first request offset=0, count=100, then offset=100, count=100, and so on. This would make it easier to process large playlists incrementally and avoid performance issues
Describe alternatives you've considered
None that are practical or reliable - manually adjusting the limit and re-requesting from the start is inefficient and doesn't solve the problem
Additional context
This feature would be especially useful for users trying to fully export or analyze large playlists
Is your feature request related to a problem? Please describe.
Yes. The
get_album()method has alimitparameter, but it only limits how many tracks are retrieved starting from the beginning of the playlist. This becomes inefficient when dealing with large playlists. Settinglimit=Nonedoesn't fetch all tracks either (possibly due to a YouTube-imposed limit); I only get 1914 out of 2054 tracks of my liked songs playlistDescribe the solution you'd like
It would be helpful to have support for pagination via
offsetandcountparameters (or similar). For example, to retrieve tracks in batches, one could first requestoffset=0, count=100, thenoffset=100, count=100, and so on. This would make it easier to process large playlists incrementally and avoid performance issuesDescribe alternatives you've considered
None that are practical or reliable - manually adjusting the limit and re-requesting from the start is inefficient and doesn't solve the problem
Additional context
This feature would be especially useful for users trying to fully export or analyze large playlists