mirror of
https://github.com/hansputera/tiktok-dl.git
synced 2026-04-06 04:01:57 +02:00
40 lines
807 B
TypeScript
40 lines
807 B
TypeScript
export interface ExtractedInfo {
|
|
error?: string;
|
|
video?: {
|
|
id?: string;
|
|
thumb?: string;
|
|
urls: string[];
|
|
title?: string;
|
|
duration?: string;
|
|
};
|
|
music?: {
|
|
url: string;
|
|
title?: string;
|
|
author?: string;
|
|
id?: string;
|
|
cover?: string;
|
|
};
|
|
author?: {
|
|
username?: string;
|
|
thumb?: string;
|
|
id?: string;
|
|
};
|
|
caption?: string;
|
|
playsCount?: number;
|
|
sharesCount?: number;
|
|
commentsCount?: number;
|
|
likesCount?: number;
|
|
uploadedAt?: string;
|
|
updatedAt?: string;
|
|
};
|
|
|
|
export interface MaintenanceProvider {
|
|
reason: string;
|
|
};
|
|
|
|
export interface DownloadPayload {
|
|
url: string;
|
|
type: string;
|
|
nocache?: string | boolean;
|
|
rotateOnError?: string | boolean;
|
|
} |