Fixed variable type mismatch

This commit is contained in:
Logan G 2022-07-20 15:11:44 -06:00
parent 1a87147fe0
commit 480eb86d80
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

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