Tool for ripping m3u8 playlists/segments.
Tool for ripping m3u8 playlists. It downloads playlists sequentially and
segments in parallel. The number of parallel workers can be controlled with the-w
flag.
% hls-rip -w 64 https://website.example.com/videos/2017/interesting-video.m3u8
It requires variation playlists and segments to be declared using relative
paths.
Installing this requires latest version of Go properly installed and
configured, then just go get
should be
enough:
% go get github.com/fsouza/hls-rip
That will install the binary hls-rip
to $GOBIN
(or${GOPATH}/bin
). If you haven’t explicitly set the environment variable$GOBIN
, you can access the binary in $(go env GOPATH)/bin/hls-rip
.
Additionally, pre-built binaries are provided for Linux x64 and MacOS x64 in
the releases page, checkout the latest
release.