From 2cf3526c74b5af1d3ce27fde28d8751c53f3952c Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Thu, 18 Feb 2021 23:28:55 +0100 Subject: [PATCH] switch back to youtube-dl for downloads only --- sources/youtubeVideo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/youtubeVideo.go b/sources/youtubeVideo.go index a3e2773..20c367b 100644 --- a/sources/youtubeVideo.go +++ b/sources/youtubeVideo.go @@ -279,8 +279,8 @@ func (v *YoutubeVideo) download() error { quality := qualities[i] argsWithFilters := append(ytdlArgs, "-fbestvideo[ext=mp4][height<="+quality+"]+bestaudio[ext!=webm]") argsWithFilters = append(argsWithFilters, userAgent...) - cmd := exec.Command("youtube-dlc", argsWithFilters...) - log.Printf("Running command youtube-dlc %s", strings.Join(argsWithFilters, " ")) + cmd := exec.Command("youtube-dl", argsWithFilters...) + log.Printf("Running command youtube-dl %s", strings.Join(argsWithFilters, " ")) stderr, err := cmd.StderrPipe() if err != nil {