@tobyg74/tiktok-api-dl
Version:
Scraper for downloading media in the form of videos, images and audio from Tiktok. Also for stalking Tiktok Users
28 lines (27 loc) • 648 B
TypeScript
import { BaseResponse } from "../common";
export type GetMusicalDownReuqest = BaseResponse & {
request?: {
[key: string]: string;
};
cookie?: string;
};
export type MusicalDownResponse = BaseResponse & {
result?: ContentMusicalDown;
};
export type ContentMusicalDown = {
type: "video" | "image";
author?: AuthorMusicalDown;
desc?: string;
images?: string[];
videoHD?: string;
videoSD?: string;
videoWatermark?: string;
music?: string;
};
export type AuthorMusicalDown = {
avatar: string;
nickname: string;
};
export type GetMusicalDownMusic = BaseResponse & {
result?: string;
};