Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddVideoToCSV ¶
AddVideoToCSV appends a single video to the end of a CSV file.
func LoadDownloadedVideos ¶
LoadDownloadedVideos loads the history of downloaded videos from a CSV file.
Types ¶
type VideoQueue ¶
VideoQueue represents a queue of videos to be downloaded.
func (*VideoQueue) AddVideo ¶
func (vq *VideoQueue) AddVideo(video youtube.Video)
AddVideo adds a new video to the queue if it hasn't been downloaded.
func (*VideoQueue) IsDownloaded ¶
func (vq *VideoQueue) IsDownloaded(videoID string) bool
IsDownloaded checks if a video has been downloaded by looking it up in the downloaded_videos.csv file.
Click to show internal directories.
Click to hide internal directories.