m3u8 downloader
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.
Features
- Download and parse M3U8(VOD)
- Retry on download TS failure
- Parse Master playlist
- Decrypt TS
- Merge TS
Usage
Build
git clone https://github.com/q-meet/m3u8Tool.git
cd m3u8Tool && go build
Download
Execution:
Linux
./github.com/q-meet/m3u8Tool-linux -u=http://example.com/index.m3u8 -o=/data/example
Windows PowerShell
.\github.com/q-meet/m3u8Tool-win.exe -u="http://example.com/index.m3u8" -o="D:\data\example"
MacOS
./github.com/q-meet/m3u8Tool-mac -u=http://example.com/index.m3u8 -o=/data/example