retrouser955 / discord-player-youtubei

Super charging your bot. dpy is a tiny extractor module to test the validity of youtubei.js in discord-player version 7.
https://discord-player.js.org
Creative Commons Zero v1.0 Universal
25 stars 8 forks source link

Support playlists with more than 100 videos #12

Closed joshbrucker closed 4 months ago

joshbrucker commented 4 months ago

youtubei.js retrieves items from playlists in pages of 100 videos. The current code only processes the first 100 videos of a playlist, which becomes a problem for larger playlists.

This change addresses this by looping over the continuations in the Playlist object until there are no continuations remaining.

retrouser955 commented 4 months ago

I have already implemented this in my local machine. I haven't pushed it as I am trying to patch #13 as of this moment. Thank you for your pull request though.