Skip to content

Downloads HLS Playlist file and TS chunks using Terminal

License

Notifications You must be signed in to change notification settings

nurrony/hlsdownloader-cli

Repository files navigation

HLSDownloader CLI (hlsdl)

Upgrading is in progress. Please use tag or npm to install stable version. The code is broken in master

Greenkeeper badge version coding style: standard dependencies devDependencies Downloads Travis branch semantic-release

HLS Downloader is under active development. Please send your thoughts, feature request and pull request

Installation

[sudo] npm install -g hlsdownloader-cli
# or
[sudo] yarn global add hlsdownloader-cli

Usage

Usage: hlsdl <url> [options]

Options:
  -d, --destination      path to directory (default: current directory)
  -h, --help             Show help
  -v, --version          Show version number [boolean]

Examples:
  hlsdl http://path/to/playlist.m3u8 --destination /path/to/download
  hlsdl http://path/to/playlist.m3u8 -d /path/to/download
  hlsdl http://path/to/playlist.m3u8 -d /path/to/download --headers '{"X-Powered-By": "Yay!!"}'

Passing request-promise parameters

You can pass any request-promise parameter as flag that are supported by HLSDownloader package

I will be grateful if you all help me to improve this package by giving your suggestions, feature request and pull requests. I am all ears!!