Uses wernight/docker-youtube-dl Docker image.
-
Provide a newline (
\n
) separated list of Youtube video IDs (likeM7XM597XO94
) or URLs (likehttps://www.youtube.com/watch?v=M7XM597XO94
) in a txt file. -
Allow execution for the script file:
chmod +x download-youtube-videos.sh
-
Pass in the path to the file for the script as an argument:
./download-youtube-videos.sh list.txt
-
Wait
-
Downloaded video files can be found from
$PWD/downloads
-
Profit?