Use Youtube-DL to Download a List of Video URLs in a Text File

Recently I needed to download a large number of YouTube videos using youtube-dl. I had a list of URLs, added those to a text file that I creatively called list.txt, and then put that file in my youtube-dl directory.

The following command then downloaded all the videos in that file.

$ youtube-dl -f bestvideo+bestaudio --merge-output-format mkv --all-subs -a list.txt

Leave a Reply