Skip to Content
Mika Scraper 1.1.1 is released ๐ŸŽ‰
๐Ÿ• MIKA INTERFACEInterface: YTDL2Response

Interface: YTDL2Response

Defined in: src/youtube/ytdl2.ts:6

The YTDL2Response interface represents the response structure from the flvto.online API, which is utilized for video download requests.

Properties

link: string
The URL where the downloaded video can be accessed.

Defined in: src/youtube/ytdl2.ts:7


title

title: string
The title of the video being downloaded.

Defined in: src/youtube/ytdl2.ts:8


filesize

filesize: number
The size of the file in bytes that is downloaded.

Defined in: src/youtube/ytdl2.ts:9


progress

progress: number
The current download progress of the video represented as a percentage (0 to 100).

Defined in: src/youtube/ytdl2.ts:10


duration

duration: number
The total duration of the video in seconds.

Defined in: src/youtube/ytdl2.ts:11


status

status: "error" | "ok"
Indicates the status of the response. A value of "ok" means the request was successful, while "error" signifies that there was an issue with the request.

Defined in: src/youtube/ytdl2.ts:12


msg

msg: string
A message providing additional information about the status of the response. This may include error details if the status is "error".

Defined in: src/youtube/ytdl2.ts:13

Last updated on