Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidLink = errors.New("invalid youtube link")
)
Functions ¶
Types ¶
type Client ¶
type Client struct { *youtube.Client // contains filtered or unexported fields }
func NewYoutubeClient ¶
NewYoutubeClient returns a new youtube client
func (*Client) DownloadVideo ¶
func (c *Client) DownloadVideo(url string) (*VideoYoutube, error)
DownloadVideo downloads the video from youtube url
type VideoYoutube ¶
Click to show internal directories.
Click to hide internal directories.