youtubei.js / Types / DownloadOptions
Interface: DownloadOptions
Extends
Properties
client?
optionalclient:InnerTubeClient
InnerTube client.
Inherited from
Defined in
format?
optionalformat:string
File format, use 'any' to download any format
Inherited from
Defined in
language?
optionallanguage:string
Language code, defaults to 'original'.
Inherited from
Defined in
quality?
optionalquality:string
Video quality; 360p, 720p, 1080p, etc... also accepts 'best' and 'bestefficiency'.
Inherited from
Defined in
range?
optionalrange:object
Download range, indicates which bytes should be downloaded.
end
end:
number
start
start:
number
Defined in
type?
optionaltype:"video"|"audio"|"video+audio"
Download type, can be: video, audio or video+audio