youtube

package
v0.0.0-...-96179aa Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UrrVidNotFound     = core.UrrNew("No video was found.")
	UrrChannelNotFound = core.UrrNew("No channel was found.")
)
View Source
var Advanced = advanced{}
View Source
var AdvancedSearch = advancedSearch{}
View Source
var AdvancedSearchChannel = advancedSearchChannel{}
View Source
var AdvancedSearchVideo = advancedSearchVideo{}
View Source
var Normal = normal{}

Functions

func SearchChannel

func SearchChannel(query string) (youtube.Channel, core.Urr, error)

SearchChannel returns the most relevant channel based on the query. Returns UrrChannelNotFound if no channel was found.

func SearchVideo

func SearchVideo(query string) (youtube.Video, core.Urr, error)

SearchVideo returns the most relevant video (not livestream or premiere) based on the query. Returns UrrVidNotFound if no video was found.

Types

This section is empty.

Jump to

Keyboard shortcuts

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