The purpose of this gist is to provide a script for downloading videos off the internet in parallel.
There are also single-video implementations at the bottom of the python file, this is useful if you just want API examples, or if you can't modify the path variable to allow the yt-dlp
cli.
You will need to install yt-dlp
, it's command line, and have it on your path for the script to work. You should be able to do all of this with:
pip install yt-dlp
or
sudo pip3 install yt-dlp
or
python -m pip install yt-dlp
To run the script modify download.py
and include your videos to download in the videos variable. From there just run the script using python download.py
or python3 download.py
Lots of other sites are supported by yt-dlp. If you are watching a stream and unable to get the URL to work, try using plugins to determine the location of the stream file like: