downloader

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download

func Download()

func ResolveDir added in v1.0.1

func ResolveDir(dirStr string) string

func SetOptions

func SetOptions(opt Options)

SetOptions sets the common request option.

Types

type CDNS

type CDNS struct {
	Domain string
	IPs    []string
}

type Options

type Options struct {
	DownloadUrl    string
	Output         string
	DownloadDir    string
	Proxy          string
	DeleteSyncByte bool
	DeleteTS       bool
	ThreadNumber   int
	Headers        []string
	CDNs           []string
	BaseUrl        string
	Key            string
	KeyFormat      string
	UseFFmpeg      bool
}

Options defines common m3u8 options.

Jump to

Keyboard shortcuts

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