Skip to Content
Mika Scraper 1.1.1 is released ๐ŸŽ‰
๐ŸŒŠ MIKA CLASSClass: SnappinDownloader

Mika Scraper v1.1.2


Mika Scraper / SnappinDownloader

Class: SnappinDownloader

Defined in: src/_other-scraper/snappin.ts:41

The SnappinDownloader class is responsible for fetching media content from Pinterest using the Snappin.app service.

Example

const downloader = new SnappinDownloader(); const result = await downloader.download('https://pin.it/abc123'); if (result.status) { console.log(result.video); }

Constructors

Constructor

new SnappinDownloader(): SnappinDownloader

Returns

SnappinDownloader - An instance of the SnappinDownloader class.

Methods

download()

download(pinterestUrl: string): Promise<SnappinResponse>

Defined in: src/_other-scraper/snappin.ts:50

Fetches downloadable media (video or image) content from a specified public Pinterest URL.

Parameters

pinterestUrl

string - A valid public Pinterest post URL.

Returns

Promise<SnappinResponse> - A promise that resolves to an object containing the media result or an error message.

Last updated on