Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.3 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.3 KB

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)
  • Pass an auth cookie to the server
  • 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 -cookie="CloudFront-Policy=...; CloudFront-Signature=...; CloudFront-Key-Pair-Id=..."

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

Binary packages

Screenshots

Demo

References

License

MIT License