M3U8 - a mini M3U8 downloader written in Golang for downloading and merging TS(Transport Stream) files.
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
go run main.go -u=http://example.com/index.m3u8 -o=/data/example
Linux & MacOS
./m3u8 -u=http://example.com/index.m3u8 -o=/data/example
Windows PowerShell
.\m3u8.exe -u="http://example.com/index.m3u8" -o="D:\data\example"