Skip to content
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

JinLuckyboy/m3u8

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 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.

中文说明

  • ts 다운로드 url에 파라미터를 추가하도록 수정했습니다.
  • Release 1.2.3에서 go1.18.4에서 빌드할 수 있게 수정했습니다. 윈도우에서 빌드하려면 go-build-all.sh에서 변수 window_bash를 유심히 보시길 바랍니다.

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

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 79.5%
  • Shell 20.5%