title: Bash script for downloading multiple files from a list
body: <p>Hope you all are doing well. I was wondering if you can write a bash script that kind of looks like this</p>
  
  <p>The caveat is that I will be wanting to download videos, so it would be using youtube-dl</p>
  
  <p>TOPIC1</p>
  
  <p>HTTP:....</p>
  
  <p>HTTP:...</p>
  
  <p>TOPIC2</p>
  
  <p>HTTP:...</p>
  
  <p>HTTP:...</p>
  
  <p>TOPIC3</p>
  
  <p>HTTP:...</p>
  
  <p>HTTP:...</p>
  
  <p>Etc, etc.</p>
  
  <p>I have all of these saved in a text file, and I would like a bash script that will create a directory with the TOPIC name as the folder, and then download each of the URLS under TOPIC and then move on to the next one, create a directory and then download all the URLS for that.</p>
  
  <p>Does that make sense? I have very, very minimal experience with bash. </p>
  
  <p>I could easily download just one using the youtube-dl command, but having to do that one at a time would be very cumbersome.</p>
  
  <p>Cheers</p>