0.0.2 • Published 1 year ago

lixxeza-pin v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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