Skip to content

azihassan/youtube-d

Repository files navigation

Youtube-d

Build status Test status

A command-line tool to store Youtube videos for offline viewing.

Usage

Run youtube-d -h to display a usage guide.

$ youtube-d -h
Youtube downloader v0.0.5
-f                 Format to download (see -F for available formats)
-F                 List available formats
-o    --output-url Display extracted video URL without downloading it
-p      --parallel Download in 4 parallel connections
-c       --chunked Download in multiple serial chunks (experimental)
-v       --verbose Display debugging messages
     --no-progress Don't display real-time progress
        --no-cache Skip caching of HTML and base.js
-d    --dethrottle Attempt to dethrottle download speed by solving the N challenge (defaults to true)
   --no-dethrottle Skip N-challenge dethrottling attempt
         --version Displays youtube-d version
-h          --help This help information.

Demo on asciinema

asciicast

Installation

Download the latest release from the release page

Alternatively, you can build it from source by installing dub and compiling with dub build -b release