Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

lixxeza-pin

pifilix17MIT0.0.2

The first open package for parsing\downloading photo or video from Pinterest

pifilix, ylixxen, lixxeza, pinterest, pinterestdl, pindown, pin, video, download

readme

Lixxeza-pin

Downloads

The first parser for downloading photo or video from Pinterest

Installation

Install you can using npm

  npm install lixxeza-pin

Examples

Get a link to download image or video

const pinterest = require('lixxeza-pin');

(async() => {
  console.log(await pinterest.getURL('https://www.pinterest.com/pin/705728204135034561/'));
})();

Get a buffer of an image or video

const pinterest = require('lixxeza-pin');

(async() => {
  console.log(await pinterest.getBuffer('https://www.pinterest.com/pin/705728204135034561/'));
})();

Get a buffer (Uint8Array) of an image or video

const pinterest = require('lixxeza-pin');

(async() => {
  console.log(await pinterest.getUint8ArrayBuffer('https://www.pinterest.com/pin/705728204135034561/'));
})();

Dependencies

axios

jsdom

Author