[GH-ISSUE #461] get_artist_albums/singles: support pagination #344

Closed
opened 2026-02-27 23:00:17 +03:00 by kerem · 1 comment
Owner

Originally created by @H3adsho0ot on GitHub (Oct 20, 2023).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/461

If you try to get a lot of albums the first request won't contain all entries. Roughly the first 110 albums get returned. If there are more youtube seems to use some kind of paging/lazy loading.

For example here: https://music.youtube.com/browse/MPADUC6LfFqHnWV8iF94n54jwYGw

Youtube seems to send a next request to browse with type next on such pages:
image

Would be nice to have a parameter to get all or something

Originally created by @H3adsho0ot on GitHub (Oct 20, 2023). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/461 If you try to get a lot of albums the first request won't contain all entries. Roughly the first 110 albums get returned. If there are more youtube seems to use some kind of paging/lazy loading. For example here: https://music.youtube.com/browse/MPADUC6LfFqHnWV8iF94n54jwYGw Youtube seems to send a next request to browse with type next on such pages: ![image](https://github.com/sigma67/ytmusicapi/assets/8555086/21b500e2-1deb-46f3-b887-7344d50c1831) Would be nice to have a parameter to get all or something
Author
Owner

@sigma67 commented on GitHub (Mar 13, 2024):

get_artist_albums supports the limit parameter since 1.5.0, somehow I missed this issue

f2be19416b

<!-- gh-comment-id:1995288586 --> @sigma67 commented on GitHub (Mar 13, 2024): `get_artist_albums` supports the `limit` parameter since 1.5.0, somehow I missed this issue f2be19416bccb762ba27d1c72d4fb7a6f0ada664
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#344
No description provided.