This repo provides a way to run the latest version of youtube-dl on Windows 10 using docker.
- Windows 10
- Docker desktop
As a prerequisite you must install Docker for windows.
Then, clone the repo and run build.cmd:
git clone https://github.com/paviad/youtube-dl-docker.git
cd youtube-dl-docker
git submodule update --init
update
build
Running dlv.cmd
will simply run youtube-dl and give you the output, you may run dlv --help
to get command line options.
To download a video run dlv.cmd
and surround the url with quotes, e.g.
dlv "<youtube link>"
The file will be saved in the out/
directory.
There is a shortcut batch file that only extracts audio in mp3 format called dla.cmd, usage e.g.
dla "<youtube link>"
It simply adds -x --audio-format mp3
to the command line arguments.
Just run update
followed by build
:
update
build