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

Mika Scraper v1.1.2


Mika Scraper / ImageResult

Interface: ImageResult

Defined in: src/downloader/tiktok.ts:40

Represents the structure of a result when images are found in a carousel or slide format.

Properties

type

type: "image"

Defined in: src/downloader/tiktok.ts:41

The type of the result. This is always set to "image" when the result contains images.


title

title: string

Defined in: src/downloader/tiktok.ts:42

The title associated with the image result, providing context or description for the images.


images

images: string[]

Defined in: src/downloader/tiktok.ts:43

An array containing URLs of the images found in the result.


mp3Link?: DownloadLink

Defined in: src/downloader/tiktok.ts:44

An optional link to an MP3 file related to the image result, represented as a DownloadLink object. This property is only present if an MP3 is available.


Example

const imageResult: ImageResult = { type: "image", title: "A beautiful sunset", images: [ "https://example.com/image1.jpg", "https://example.com/image2.jpg", ], mp3Link: { url: "https://example.com/audio.mp3", label: "Download audio" } };
Last updated on