Versions in this module Expand all Collapse all v0 v0.3.1 Oct 22, 2017 Changes in this version + var Commands = []cli.Command + var YoutubeAPIURLBase = "https://www.googleapis.com/youtube/v3/" + func Build(c *cli.Context, cmdBuilder runner.Builder, items []*VideoData, ...) error + func ContainsString(needle string, haystack []string) bool + func RootCompletion(c *cli.Context) + type ChannelInfo struct + Description string + Link string + Thumbnail string + Title string + type ChannelScraper struct + func NewChannelScraper(apiKey string) *ChannelScraper + func (scraper ChannelScraper) GetVideosForChannel(channelName, after string) ([]*VideoData, *ChannelInfo, error) + type DirectoryCleaner struct + func NewDirectoryCleaner(outputFolder string) *DirectoryCleaner + func (cleaner DirectoryCleaner) CleanupUnrelatedFiles(relatedFiles []string, writer io.Writer) error + type Downloader struct + func NewDownloader(cmdBuilder runner.Builder, outputFolder string, quality string) *Downloader + func (downloader Downloader) DownloadVideos(items []*VideoData) error + type PlaylistScraper struct + func NewPlaylistScraper(apiKey string) *PlaylistScraper + func (scraper PlaylistScraper) GetVideosForPlaylist(playlistID string) ([]*VideoData, *ChannelInfo, error) + type VideoData struct + Description string + FileName string + GUID string + Image string + Link string + PubDate time.Time + Title string + type XMLBuilder struct + func NewXMLBuilder(cmdBuilder runner.Builder, ...) *XMLBuilder + func (xmlBuilder XMLBuilder) BuildRss(items []*VideoData) error v0.3.0 Apr 19, 2017 Changes in this version + const Name + const Version v0.2.0 Apr 11, 2017 Changes in this version + func CmdChannel(cmdBuilder commandBuilder.Builder) func(c *cli.Context) error + func CmdPlaylist(cmdBuilder commandBuilder.Builder) func(c *cli.Context) error + func Completion(c *cli.Context)