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 } }