youtubedl

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 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 Provider

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

func New

func New(youtubeDLCommand []string) (*Provider, error)

func (*Provider) DownloadVideo

func (p *Provider) DownloadVideo(ctx context.Context, youtubeId string, options models.DownloadOptions, logline func(logMessage models.LogMessage)) (string, error)

func (*Provider) GetVideoMetadata

func (p *Provider) GetVideoMetadata(ctx context.Context, youtubeId string) (*models.Video, error)

Jump to

Keyboard shortcuts

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