diff --git a/download.go b/download.go index e86b9ef..467d8a7 100644 --- a/download.go +++ b/download.go @@ -49,11 +49,6 @@ func downloadVideo(url string, path string, group GroupConfig) (err error) { tempPath := MainConfig.TempDir+"/"+video.Info.ID - if video.Info.IsLive { - log.Info("Video is a live stream. Skipping.") - return nil - } - /* VIDEO */ if group.VideoFormat != "" { log.Debugf("Downloading video \"%s\" with format \"%s\"", video.Info.ID, group.VideoFormat) diff --git a/ytva.go b/ytva.go index 9a56df3..1801cc8 100644 --- a/ytva.go +++ b/ytva.go @@ -152,6 +152,11 @@ func main() { } } + if v.IsLive { + log.Infof("Skipping live stream \"%s\".", v.Title) + continue + } + dirPath := fillPlaceholders(group.OutputDir, v) fileName := fillPlaceholders(group.FileName, v) path := dirPath+"/"+fileName