How to get all the songs in the playlist? #1336
Answered
by
eritislami
wenbin1354
asked this question in
Q&A
-
Seem like the playlist only gets the first 100 songs in the playlist, changing the "MAX_PLAYLIST_SIZE" over 100 won't affect this, it still gets the first 100 songs in the playlist. |
Beta Was this translation helpful? Give feedback.
Answered by
eritislami
Dec 26, 2022
Replies: 1 comment
-
Basic YouTube.getPlaylist("some_youtube_playlist")
.then(console.log) // max 100 items
.catch(console.error); Fetch all videos immediately YouTube.getPlaylist("some_youtube_playlist", { fetchAll: true })
.then(console.log)
.catch(console.error); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wenbin1354
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basic
Fetch all videos immediately
https://www.npmjs.com/package/youtube-sr