@tobyg74/tiktok-api-dl
Version:
Scraper for downloading media in the form of videos, images and audio from Tiktok. Also for stalking Tiktok Users
24 lines (23 loc) • 739 B
TypeScript
export declare const DOWNLOADER_VERSIONS: {
readonly V1: "v1";
readonly V2: "v2";
readonly V3: "v3";
};
export declare const SEARCH_TYPES: {
readonly USER: "user";
readonly LIVE: "live";
readonly VIDEO: "video";
};
export declare const ERROR_MESSAGES: {
readonly COOKIE_REQUIRED: "Cookie is required!";
readonly INVALID_VERSION: "Invalid downloader version";
readonly INVALID_SEARCH_TYPE: "Invalid search type";
readonly INVALID_URL: "Invalid TikTok URL";
readonly NETWORK_ERROR: "Network error occurred";
readonly RATE_LIMIT: "Rate limit exceeded";
};
export declare const DEFAULT_LIMITS: {
readonly POST_LIMIT: 30;
readonly COMMENT_LIMIT: 20;
readonly SEARCH_PAGE_SIZE: 20;
};