node-youtube-dl
node-youtube-dl copied to clipboard
Won't recognize playlists as such
It does work when the link contains the playlist keyword https://www.youtube.com/playlist?list=PLzIUZKHPb1HbqsPMIFdE0My54iektZrNU but there is an alternative way to building a playlist url https://www.youtube.com/watch?v=shF8Sv-OswM&list=PLzIUZKHPb1HbqsPMIFdE0My54iektZrNU
noticed that too !
@DiegoFleitas Is that a problem just with node-youtube-dl or youtube-dl itself as well? Regarding node-youtube-dl: have you been using .exec or the default way?
@yafp as far as I know it only happens with node-youtube-dl, since youtube-dl from the command line works perfectly for me. I'm just modifying the string to make it work but I think it should be treated as a bug in here
Could be a problem related to how the url is interpreted since the -
can be mixed with flags parser 🤔
Any news on this ? I have the same problem and it's a pretty important feature to be able to download playlists.
@xylish7 its a pretty easy fix, just detect the list parameter and transform your unsupported url into a supported one with the playlist keyword if you need it quick as my example above. Note the playlist id is still the same
@DiegoFleitas can you add the example to README? 🙂
Sure, but I think a proper fix would be best since my "fix" is actually to circumvent the bug. Here's the PR https://github.com/przemyslawpluta/node-youtube-dl/pull/316/files
@DiegoFleitas I've already done this, but I thought it was nice to do this without any custom things, by fixing the bug. So that's why I was asking when this would be fixed, but thank you for your fast answer 😁