Skip to content
/ ytdl Public
forked from cssivision/ytdl

youtube download cli in rust.

License

Notifications You must be signed in to change notification settings

harrypunk/ytdl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ytdl

Build Status crate License

a simple cli for downloading youtube video.

Installation

use cargo.

cargo install ytdl

Fetch lastest releases.

macos

wget https://github.com/cssivision/ytdl/releases/download/v0.1.5/ytdl
chmod +x ytdl

linux

wget https://github.com/cssivision/ytdl/releases/download/v0.1.5/ytdl.linux
chmod +x ytdl.linux

Usage

example

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

Licenses

All source code is licensed under the MIT License.

About

youtube download cli in rust.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.8%
  • Makefile 0.2%