A M3U8 downloader (CLI) written in Golang to download HTTP Live Streaming videos, forked from oopsguy/m3u8 with continuous updates.
You only need to specify the flags(u
, o
, c
) to run, downloader will automatically download all TS files and consolidate them into a single TS file.
- Download and parse M3U8(VOD)
- Retry on download TS failure
- Parse Master playlist
- Decrypt TS
- Merge TS
git clone https://github.com/http-live-streaming/m3u8-downloader.git
cd m3u8-downloader && go build
Linux
./m3u8-downloader-linux -u=http://example.com/index.m3u8 -o=/data/example
Windows PowerShell
.\m3u8-downloader-win.exe -u="http://example.com/index.m3u8" -o="D:\data\example"
MacOS
./m3u8-downloader-mac -u=http://example.com/index.m3u8 -o=/data/example