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