Removed redundant check

This commit is contained in:
Logan G 2022-09-16 18:32:40 -06:00
parent f4705a0b7f
commit 1a2b019b4b
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -104,7 +104,7 @@ func getLargestYTFormat(input goutubedl.Result, sizeLimit float64) (format goutu
} else { } else {
size = input.Formats()[i].Filesize size = input.Formats()[i].Filesize
} }
if size <= sizeLimit && input.Formats()[i].FormatID != "17" { if size <= sizeLimit {
return input.Formats()[i], nil return input.Formats()[i], nil
} }
} }