From 945bbd6026a95ec696fa5d07063842da4efe8f5c Mon Sep 17 00:00:00 2001 From: NexonSU Date: Mon, 9 Sep 2024 11:05:09 +0300 Subject: [PATCH] result.Options.Impersonate removal --- goutubedl.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/goutubedl.go b/goutubedl.go index d8164a8..e5c0c24 100644 --- a/goutubedl.go +++ b/goutubedl.go @@ -644,10 +644,6 @@ func (result Result) DownloadWithOptions( cmd.Args = append(cmd.Args, "--audio-format", options.AudioFormats) } - if result.Options.Impersonate != "" { - cmd.Args = append(cmd.Args, "--impersonate", result.Options.Impersonate) - } - if result.Options.ProxyUrl != "" { cmd.Args = append(cmd.Args, "--proxy", result.Options.ProxyUrl) }