Crates.io | ytdl |
lib.rs | ytdl |
version | 0.1.5 |
source | src |
created_at | 2017-07-16 07:00:42.694506 |
updated_at | 2017-09-02 12:36:43.406937 |
description | youtube download cli write in rust. |
homepage | https://github.com/cssivision/ytdl |
repository | https://github.com/cssivision/ytdl |
max_upload_size | |
id | 23559 |
size | 41,657 |
a simple cli for downloading youtube video.
use cargo.
cargo install ytdl
Fetch lastest releases.
wget https://github.com/cssivision/ytdl/releases/download/v0.1.4/ytdl
chmod +x ytdl
wget https://github.com/cssivision/ytdl/releases/download/v0.1.4/ytdl-linux
chmod +x ytdl-linux
ytdl https://www.youtube.com/watch?v=GbWECt0M3CI
USAGE:
ytdl [FLAGS] [OPTIONS] <url>
FLAGS:
-a, --append append to output file instead of overwriting
-d, --debug output debug log
-u, --download-url prints download url to stdout
-h, --help Prints help information
-i, --info only output info
-j, --json print info json to stdout
--no-progress write output to a file
-s, --silent only output error, also diables progressbar
-V, --version Prints version information
OPTIONS:
-f, --filter <FILTER>... filter available formats, syntax: val1 val2 val3
-o, --output <FILE> write output to a file
-r, --range <RANGE> download a specific range of bytes of the video, [start]-[end]
--start-offset <STARTOFFSET> offset the start of the video
ARGS:
<url> youtube video url, short url or video id
All source code is licensed under the MIT License.