From 5e569df5abf80fe92d4c4568708ef260742b6a34 Mon Sep 17 00:00:00 2001 From: Logan G Date: Fri, 3 Jan 2025 18:30:40 -0700 Subject: [PATCH] Adding (currently useless) options to yt-dlp --- download.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/download.go b/download.go index e828c76..b78c8bd 100644 --- a/download.go +++ b/download.go @@ -43,7 +43,11 @@ func downloadVideo(url string, path string, group GroupConfig) (err error) { log.Debugf("URL \"%s\" exists.", url) - video, err := goutubedl.New(context.Background(), url, goutubedl.Options{}) + video, err := goutubedl.New(context.Background(), url, goutubedl.Options{ + MergeOutputFormat: "", + DownloadSubtitles: group.DownloadSubtitles, + DownloadThumbnail: group.DownloadThumbnails, + }) if err != nil { return err }