From 1a1941ca29bd253325cbce399d9c9af4c1d34b87 Mon Sep 17 00:00:00 2001 From: dilap54 Date: Tue, 14 Jan 2025 22:09:14 +0300 Subject: [PATCH] rename fork --- goutubedl.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/goutubedl.go b/goutubedl.go index 7837555..1b85c49 100644 --- a/goutubedl.go +++ b/goutubedl.go @@ -346,6 +346,12 @@ func infoFromURL( cmd.Args = append(cmd.Args, "--cookies-from-browser", options.CookiesFromBrowser) } + if options.ExtractorArgs != "" { + cmd.Args = append(cmd.Args, + "--extractor-args", options.ExtractorArgs, + ) + } + switch options.Type { case TypePlaylist, TypeChannel: cmd.Args = append(cmd.Args, "--yes-playlist")