youtube

package
v0.0.0-...-69c76d4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YoutubePrefix = "youtube"
)

YoutubePrefix ...

Variables

This section is empty.

Functions

func DownloadSingleVideo

func DownloadSingleVideo(videoID string) (glod.Response, error)

DownloadSingleVideo is a function that download single video

func GetTitleAndArtist

func GetTitleAndArtist(link string, index int) glod.Response

GetTitleAndArtist returns Title and Artist in case we can't crawl URL

func ToPlayList

func ToPlayList(link string) string

ToPlayList ...

Types

type Format

type Format struct {
	Itag                    int
	VideoType, Quality, URL string
}

Format ...

type Youtube

type Youtube struct {
}

Youtube ...

func (youtube *Youtube) GetDirectLink(link string) ([]glod.Response, error)

GetDirectLink is a function that receive input is a link and output doesnt matter(but it override GetDirectLink of Glod interface)

Jump to

Keyboard shortcuts

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