From 480eb86d804d9c1ccbc18b679b239ca366841cc9 Mon Sep 17 00:00:00 2001 From: Logan Gartner Date: Wed, 20 Jul 2022 15:11:44 -0600 Subject: [PATCH] Fixed variable type mismatch --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index a4e5f2c..acd2029 100644 --- a/helpers.go +++ b/helpers.go @@ -101,7 +101,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 && input.Formats()[i].FormatID != "17" { return input.Formats()[i], nil } }