downloader

package
v0.0.0-...-dbdebdf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadOfM3u8

func DownloadOfM3u8(m3u8list []M3u8Info, url_type, max_thread int)

Types

type M3u8Info

type M3u8Info struct {
	Url      string // m3u8 的url
	Path     string // m3u8 下属 ts 保存的临时路径
	FilePath string // 合并 ts 最终文件路径

	Body    string      // m3u8 的body
	Key     string      // 解密Key
	SubM3u8 []*M3u8Info // 子 m3u8
	Tslist  []*TsInfo   // ts 文件信息指针
}

type TsInfo

type TsInfo struct {
	Url  string // ts 的url
	Name string // ts 文件名称
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL