/hlsdl-cli

HLS playlist downloader written in Shell

Primary LanguageShellGNU General Public License v3.0GPL-3.0

hlsdl-cli

Simple HLS playlist downloader written in Shell

Installation

curl -sLo "${PREFIX}/bin/hlsdl-cli" https://raw.githubusercontent.com/Rendevior/hlsdl-cli/master/hlsdl-cli
chmod +x "${PREFIX}/bin/hlsdl-cli"

Options

-v                           : Print Version and Exit
-h                           : Print Help
-z                           : Supress output (only shows errors)
-q [high|low]                : Choose specific Quality
-u, --user-agent=[useragent] : Set an User-Agent Header
-r, --referer=[referer]      : Set an HTTP Referer Header
-o [filename]                : Output filename
-d [dir]                     : Cache to specific directory (default: ~/.ffmhls)
-c [N]                       : Set number of connection will be used for downloading [1-16]
--header=[headers]           : Set a custom HTTP Headers for request

How to use

Example usage:

hlsdl-cli -o filename.mp4 -d ./.cache -q 720 "https://example.com/example.m3u8"

Dependencies

  • sed
  • grep
  • awk
  • curl
  • openssl
  • ffmpeg
  • aria2