This npm package will download a list of youtube urls provided by the user.
IMPORTANT - This package relies on the use of the homwbrew package yt-dlp
To install this package on your system, run brew install yt-dlp
. If homebrew is not already installed on your system, please visit Homebrew's website to learn more about how to install.
To use this package run the following command to install it onto your system.
npm install yt-video-dlp --global
This script is required to be installed with the --global
flag as is a command-line interface tool.
The script will take a file that contains the urls of the youtube videos that you wish to download as input. The file should be structured like this with each video url on its own separate. There should be nothing other than the video urls in the file. The file could potentially be of different file extensions, but only use files with .txt
or a file with no file extension, such a file created using the shell command: touch urls
.
https://www.youtube.com/watch?v=<video-id>
https://www.youtube.com/watch?v=<video-id>
https://www.youtube.com/watch?v=<video-id>