Closed mpirescarvalho closed 3 years ago
with this package, I don't think it is possible to get more than 100 items :thinking:
however, you can use ytpl which is focused on youtube playlists parsing
Also I will try to fix this when I'm free
I have added Playlist.next()
and Playlist.fetch()
methods to solve this in v4.0.10
. The next
method returns next 100 items whereas fetch
fetches every possible items (slow).
@mpirescarvalho is lazy loading playlist with Playlist.next()
okay for you?
I haven't tested it yet, but I'll do it by tomorrow.
It's possible to fetch more than 100 videos in a playlist?
This is the code I'm using: Result:
{ videoCount: 551, actualVideos: 100 }
I saw that the
limit
defaults to 100, but I couldn't get more than that. I also tried with others limits values such as:.getPlaylist(playlistUrl, { limit: 0 })
.getPlaylist(playlistUrl, { limit: undefined })
.getPlaylist(playlistUrl)