youtube

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

Engine is the youtube engine.

func New

func New(cfg *config.Youtube) (*Engine, error)

New for creating a new youtube engine.

func (*Engine) Download

func (e *Engine) Download(ctx context.Context) (string, error)

Download downloads youtube video.

func (*Engine) Filename

func (e *Engine) Filename() string

Filename returns a sanitized filename.

Jump to

Keyboard shortcuts

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