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