yt

package
v0.0.0-...-8ce17bf Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extractor

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

func New

func New(token, folder string) (Extractor, error)

New creates YouTube API client and is wrapper for ytdl caller.

func (Extractor) Get

func (e Extractor) Get(query string) ([]types.Song, error)

Get downloads the file into the specified folder then returns the filename.

Jump to

Keyboard shortcuts

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