A mini M3U8 downloader written in Golang for downloading and merging TS(Transport Stream) files. 一个迷你 M3U8 视频下载工具。
Last updated May 6, 2026
548
Stars
139
Forks
16
Issues
0
Stars/day
Attention Score
29
Language breakdown
Go 100.0%
▸ Files
click to expand
README
M3U8
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.
Features
- Download and parse M3U8(VOD)
- Retry on download TS failure
- Parse Master playlist
- Decrypt TS
- Merge TS
Usage
source
go run main.go -u=http://example.com/index.m3u8 -o=/data/example
binary:
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"
Download
Screenshots

References
License
🔗 More in this category