Skip to content
kz26Public

About

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

Resources

Stars

311 stars

Watchers

16 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

311 stars

Watchers

16 watching

Forks

Releases

Packages

Used by

Contributors

Languages