Skip to content

kz26/gohls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gohls

gohls - HTTP Live Streaming (HLS) downloader written in Golang

Download the source distribution for a tagged stable release, or download binaries for your platform. Currently, binaries are available for the following platforms:

  • Windows 64-bit
  • Mac OS X 64-bit (contributed by @nlittlejohns, compiled and tested on OS X 10.9)

Usage, options, and defaults

gohls [-l=bool] [-t duration] [-ua user-agent] media-playlist-url output-file

  • -l=false: Use local time to track duration instead of supplied metadata
  • -t=0: Recording duration (0 == infinite)
  • -ua="user-agent": User-Agent for HTTP client

The recording duration should be specified as a Go-compatible duration string.

TODO

  • Encrypted streams support?
  • Proper Ctrl-C handling

About

gohls - Downloader for HTTP Live Streaming (HLS) streams, written in Golang

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages