Fixed variable type mismatch
This commit is contained in:
parent
1a87147fe0
commit
480eb86d80
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue