5 releases
0.1.4 | Jun 9, 2024 |
---|---|
0.1.3 | Jun 9, 2024 |
0.1.2 | Jun 6, 2024 |
0.1.1 | Jun 6, 2024 |
0.1.0 | Jun 6, 2024 |
#1847 in Command line utilities
27 downloads per month
18KB
188 lines
Cli YouTube Downloader
A simple YouTube downloader powered by rustube and clap
Installation
cargo install cli-yt-downloader
Optional - Create alias to be 'yt'
Step 1 - create alias
echo 'alias yt="cli-yt-downloader"' >> ~/.zshrc
Step 2 - source the .zshrc
source ~/.zshrc
Download a video
cli-yt-downloader -- "https://www.youtube.com/watch?v=xVuTFm1ckkI"
Download only audio
cli-yt-downloader -- "https://www.youtube.com/watch?v=xVuTFm1ckkI" -a
Download to a specific path
cli-yt-downloader -- "https://www.youtube.com/watch?v=xVuTFm1ckkI" -o ~/some-path
Default download location
The default download location is set to be your OS's download folder.
Dependencies
~10–21MB
~308K SLoC