Annoyed at how hard it has become to just download a youtube video? Online solutions don't work as expected or are full of ads? This repo offers an easy to use command line script which downloads a youtube video to your local device without any extra steps.
This uses an implementation of youtube_explode_dart to mostly make this happen, as well as args for the command line interface.
No worries, I have made an app version that has an easy to use interface - check it out here.
To get started, just download one of the releases which includes a precompiled executable - so you do not need to have dart or any of the libraries to run this.
Once you have the release installed, you will need to add it to your path. To learn how to do so click here.
To use this tool, you can call the command ytdl on your command line. Like so:
ytdl -v https://www.youtube.com/watch?v=CH50zuS8DD0 -o final.mp4
To compile yourself, you can use dart compile.
To compile to an exe file, run the following command inside of the main project folder:
$ dart compile exe bin/ytdl.dart output=./ytdl
This will produce an exe file which can be used the same as any of the releases.
To get help on running ytdl, run
$ ytdl --help
This tool does not allow for you to ignore any copyright laws and it is always recommended to get in contact with the youtube video owner before downloading the video. This repo is not responsible for ensuring that you follow copyright laws.