YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / Types / DownloadOptions

Interface: DownloadOptions

Extends

  • FormatOptions

Properties

client?

optional client: InnerTubeClient

InnerTube client.

Inherited from

FormatOptions.client

Defined in

src/types/FormatUtils.ts:27


format?

optional format: string

File format, use 'any' to download any format

Inherited from

FormatOptions.format

Defined in

src/types/FormatUtils.ts:23


language?

optional language: string

Language code, defaults to 'original'.

Inherited from

FormatOptions.language

Defined in

src/types/FormatUtils.ts:19


quality?

optional quality: string

Video quality; 360p, 720p, 1080p, etc... also accepts 'best' and 'bestefficiency'.

Inherited from

FormatOptions.quality

Defined in

src/types/FormatUtils.ts:11


range?

optional range: object

Download range, indicates which bytes should be downloaded.

end

end: number

start

start: number

Defined in

src/types/FormatUtils.ts:34


type?

optional type: "video" | "audio" | "video+audio"

Download type, can be: video, audio or video+audio

Inherited from

FormatOptions.type

Defined in

src/types/FormatUtils.ts:15

Edit this page
Last Updated:: 3/25/25, 8:08 PM
Contributors: EdamAme-x