ytmusicapi
ytmusicapi copied to clipboard
get_artist_albums/singles: support pagination
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:
Would be nice to have a parameter to get all or something