7

I want to download all the playlists of a youtube channel using youtube-dl. The following command downloads all the videos even with --yes-playlist option:

youtube-dl --yes-playlist -f best -ciw -o "${outdir}/%(uploader)s/playlists/%(playlist)s/videos/%(playlist_index)s - %(title)s.%(ext)s" -v $channel_url
0

1 Answer 1

10

I found the solution:

in order to download them as playlists, set the channel url to the playlist section of the channel, i.e.

Correct

channel_url="https://www.youtube.com/user/channelname/playlists"

Incorrect

channel_url="https://www.youtube.com/user/channelname/"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.