diff --git a/sources/youtubeVideo.go b/sources/youtubeVideo.go index 709a59f..2ac42ff 100644 --- a/sources/youtubeVideo.go +++ b/sources/youtubeVideo.go @@ -216,7 +216,7 @@ func (v *YoutubeVideo) download() error { defer func(start time.Time) { timing.TimedComponent("download").Add(time.Since(start)) }(start) - if v.youtubeInfo.IsLive != nil { + if v.youtubeInfo.IsLive == true { return errors.Err("video is a live stream and hasn't completed yet") } videoPath := v.getFullPath()