Closed Pixel1011 closed 3 years ago
That's a good Idea ! check the code and pull request a getPlaylist(url) function :) For now I don't have time to write this function but I can help you.
cheers, Valère
Thats finaly it. UseTube v1.3.0 contains a getPlaylistVideos() function !
you can try it like this :
usetube.getPlaylistVideos('PLKuN-WEIzl_pwo3US7XyZJe1oVCD7NLwF').then(videos => { console.log(videos) })
Go check the readme for more details.
cheers
If given a playlist URL to a specific function getPlaylist(url) then return all the videos which are in the playlist in an array