util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name    = "m3u8-dl"
	Version = "v0.1.0"
)

Variables

View Source
var (
	Origin    string
	Referer   string
	Cookies   string
	UserAgent string
)

Functions

func AES128Decrypt

func AES128Decrypt(crypted, key, iv []byte) ([]byte, error)

func AES128Encrypt

func AES128Encrypt(origData, key, iv []byte) ([]byte, error)

func DrawProgressBar

func DrawProgressBar(prefix string, proportion float32, width int, suffix ...string)

func Get

func Get(url string) (io.ReadCloser, error)

func MD5Short

func MD5Short(text string) string

func ResolveURL

func ResolveURL(u *url.URL, p string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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