media

package
v0.0.0-...-176ae2a Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Loader

func Loader(L *lua.LState)

func NewLuaMedia

func NewLuaMedia(media *Media, L *lua.LState) *lua.LUserData

Types

type Extractor

type Extractor struct {
	ExtractorCmd string
	VideoCmd     string
	ImageCmd     string
	TorrentCmd   string
	Client       *http.Client
}

func (*Extractor) NewMedia

func (e *Extractor) NewMedia(link string) (*Media, error)

type Media

type Media struct {
	OriginalLink string
	Links        []string
	ContentType  string
	// contains filtered or unexported fields
}

func (*Media) Run

func (media *Media) Run()

Jump to

Keyboard shortcuts

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