Skip to main content
Module

x/youtubei/deno.ts>Types.FormatOptions

A wrapper around YouTube's internal API — reverse engineering InnerTube
Very Popular
Go to Latest
interface Types.FormatOptions
import { type Types } from "https://deno.land/x/youtubei@v9.3.0-deno/deno.ts";
const { FormatOptions } = Types;

Properties

optional
quality: string

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

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

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

optional
language: string

Language code, defaults to 'original'.

optional
format: string

File format, use 'any' to download any format

optional
client:
| "WEB"
| "ANDROID"
| "YTMUSIC_ANDROID"
| "YTMUSIC"
| "YTSTUDIO_ANDROID"
| "TV_EMBEDDED"

InnerTube client, can be ANDROID, WEB, YTMUSIC, YTMUSIC_ANDROID, YTSTUDIO_ANDROID or TV_EMBEDDED