Removed redundant check
This commit is contained in:
parent
f4705a0b7f
commit
1a2b019b4b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue