How can i download youtube videos one after another automatically from terminal? is there any chance to download youtube videos one after the another automatically from terminal??

1 Answer 1


I was quite tempted to mark this question as a duplicate of How do I download a YouTube video?

However, your question is remotely different because you want to download YouTube videos one after another, not a single YouTube video. This is also simple: use the program youtube-dl as suggested in this answer. youtube-dl can also take a list of URLs as parameters and download them one by one.

For instance,

youtube-dl http://www.youtube.com/watch?v=CP8CNp-vksc http://www.youtube.com/watch?v=JmOXHH3DTwg
  • or youtube-dl http://www.youtube.com/watch?v=CP8CNp-vksc ; youtube-dl http://www.youtube.com/watch?v=JmOXHH3DTwg Jan 7, 2014 at 14:50
  • yes, or for link in http://www.youtube.com/watch?v=M0Y9bbtlB5w http://www.youtube.com/watch?v=LBtPhaF5OhA; do youtube-dl $link; done -- many roads lead to Rome. I went for the shortest one ;) Jan 7, 2014 at 14:53
  • yes, your command was an easy one. Jan 7, 2014 at 14:55

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.