lixxeza-pin
v0.0.2
Published
The first open package for parsing\downloading photo or video from Pinterest
Downloads
12
Readme
Lixxeza-pin
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/'));
})();