From 1a2b019b4bb7d9a6a660ac88e7a4da5220aea56e Mon Sep 17 00:00:00 2001 From: Logan Gartner Date: Fri, 16 Sep 2022 18:32:40 -0600 Subject: [PATCH] Removed redundant check --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index 7535f7d..28d39a2 100644 --- a/helpers.go +++ b/helpers.go @@ -104,7 +104,7 @@ func getLargestYTFormat(input goutubedl.Result, sizeLimit float64) (format goutu } else { size = input.Formats()[i].Filesize } - if size <= sizeLimit && input.Formats()[i].FormatID != "17" { + if size <= sizeLimit { return input.Formats()[i], nil } }