youtubei.js / Types / FormatOptions
Interface: FormatOptions
Extended by
Properties
client?
optionalclient:InnerTubeClient
InnerTube client.
Defined in
format?
optionalformat:string
File format, use 'any' to download any format
Defined in
language?
optionallanguage:string
Language code, defaults to 'original'.
Defined in
quality?
optionalquality:string
Video quality; 360p, 720p, 1080p, etc... also accepts 'best' and 'bestefficiency'.
Defined in
type?
optionaltype:"video"|"audio"|"video+audio"
Download type, can be: video, audio or video+audio