Recursive HTTP Live Streaming Downloader!


Keywords
php, http, streaming, download, live, ejz, downloader, hls
License
WTFPL

Documentation

HLSDownload Travis Status for Ejz/HLSDownload

Recursive HTTP Live Streaming Downloader!

Install

Download and install the latest hlsdownload.phar (see releases page for details):

$ wget "https://github.com/Ejz/HLSDownload/releases/download/v1.4.3/hlsdownload.phar"
$ chmod +x hlsdownload.phar
$ sudo mv hlsdownload.phar /usr/local/bin/hlsdownload

Test it:

$ hlsdownload "http://content.jwplatform.com/manifests/nJEIV3eJ.m3u8"

Requirements

PHP 5.6 or above (with cURL library installed).

Usage

  • The -d option sets target directory
  • The -F option allows you to select streams from master manifest
  • The --limit-rate limits download speed
  • The --no-decrypt turns off decryption (is turned on by default)

Examples

Download stream with highest bitrate:

$ hlsdownload -F Bandwidth=MAX "http://content.jwplatform.com/manifests/nJEIV3eJ.m3u8"

Save to /tmp and limit connection speed:

$ hlsdownload -d /tmp --limit-rate 100k "http://content.jwplatform.com/manifests/nJEIV3eJ.m3u8"

Demo

HLSDownload Demo

Authors

License

HLSDownload is licensed under the WTFPL License (see LICENSE).