Skip to content

Lightweight & Easy to use pinterest scraper made with typescript.

License

Notifications You must be signed in to change notification settings

rit3zh/Pinterest-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accessibility text

Build Status Codecov License

Pinterest-Scraper

Fetch information about a pin, board, user and many more, without any API KEY or ACCESS TOKEN.

Why to use?

  • Flexible
  • Exceedingly fast
  • Includes type definition
  • Lightweight

Features

  • ✅ │ Get specific pin
  • ✅ │ Search up to 80 + pins
  • ✅ │ Get information about a user.
  • ✅ │ Get board information

🔗 Prerequisites

  • NodeJS 16 +

❔Installation

$ npm install @myno_21/pinterest-scraper

Import

import * as Pinterest from "@myno_21/pinterest-scraper";

Example

import * as Pinterest from "@myno_21/pinterest-scraper";

(async () => {
  await get();
})(); // Anonymous arrow function
async function get() {
  const postId = "459156124515639652";
  const response = await Pinterest.getPins(postId);
  console.log(response);
}

Output

{
  tags: [
    'Feel Good Quotes',
    'Pretty Quotes',
    'Cute Quotes',
    'Good Qoutes',
    'Good News Quotes',
    'Simple Qoutes',
    'Cute Short Quotes',
    'Motivacional Quotes',
    'Words Quotes'
  ],
  post: 'https://i.pinimg.com/originals/68/a8/58/68a85891ccbac21aba585d1fc42a7ec8.jpg',
  username: 'SheBeKrafty-Kelen┃Mental Health, Chronic Illness, Anxiety',
  followers: '1k',
  image: 'https://i.pinimg.com/75x75_RS/63/f0/ca/63f0ca7bb609c35149679b682b95d2eb.jpg',
  url: 'https://www.pinterest.com/search/pins/?q=happiness'
}

🔗 Links

License

ISC

About

Lightweight & Easy to use pinterest scraper made with typescript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published