Skip to content
/ m3u8 Public
forked from oopsguy/m3u8

A mini M3U8 downloader written in Golang for downloading and merging TS(Transport Stream) files. 一个迷你 M3U8 视频下载工具。

License

Notifications You must be signed in to change notification settings

SergeAx/m3u8

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A mini M3U8 downloader written in Golang for downloading and merging TS(Transport Stream) files. 一个迷你 M3U8 视频下载工具。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%