0.0.2 • Published 2 years ago
lixxeza-pin v0.0.2
Lixxeza-pin
The first parser for downloading photo or video from Pinterest
Installation
Install you can using npm
npm install lixxeza-pinExamples
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/'));
})();