This question already has an answer here:

I want to download two series of playlists from this channel: https://www.youtube.com/user/mathdude2012/playlists

The channel has a "Biology" series of playlists and a "Biochemistry (by chapters)" series of playlists. Essentially, I want to make two directories "Biology" and "Biochemistry" that contain subdirectories that bear the name of the playlists in the series with the corresponding name on the channel. Additionally, I would like for the videos to be in order, so each video in a playlist has its index before the title and URL section of the file name. How can I accomplish this?

Thanks in advance.

marked as duplicate by muru, karel, Eric Carvalho, Fabby, pomsky Mar 21 '18 at 0:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I think that is covered by this answer already: askubuntu.com/questions/694848/… – Sebastian Stark Mar 15 '18 at 6:31
  • That's one part of what I wanted. The other part was making a directory for each playlist and downloading the playlist into that directory. And do it for multiple playlists in a series. I guess I can do it manually. It's a bit tedious, but less so than having to number each video manually, so thanks! – J. DOe Mar 16 '18 at 4:24
  • Something like -o %(playlist_title)s/%(playlist_index)s-%(title)s.%(ext)s – muru Mar 20 '18 at 10:36

Browse other questions tagged or ask your own question.