From f2063f5d18b5fe18acf2cb1762be9254f503cf18 Mon Sep 17 00:00:00 2001 From: Stein Ivar Berghei Date: Fri, 25 Nov 2022 10:05:31 +0100 Subject: [PATCH] Download opus 48k:16:2 so we don't need to resample --- ytdl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytdl.go b/ytdl.go index c15a402..d429739 100644 --- a/ytdl.go +++ b/ytdl.go @@ -28,7 +28,7 @@ func NewYTdl(vid string) ([]byte, error) { "--ignore-errors", "--newline", "--restrict-filenames", - "-f", "140", + "-f", "251", "--get-url", ).Output() if err != nil {