Adding (currently useless) options to yt-dlp
This commit is contained in:
parent
f62e8232d6
commit
5e569df5ab
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue