An npm package for scraping LinkedIn profiles
Linkedin-catcher is an npm package that allows you to scrape LinkedIn profiles and retrieve information such as profile details, certifications, awards, skills, projects, experience, and education. It utilizes the cheerio and puppeteer libraries to parse and extract data from LinkedIn web pages.
To install Linkedin-catcher use npm:
npm install linkedin-catcher
Here's an example of how to use linkedin-catcher to scrape a LinkedIn profile:
const scrapper = require("linkedin-catcher");
scrapper({
url: "pragati1157/", // e.g., Pragati Kumari/
}).then(res => console.warn(res));
Make sure to replace "profile-id/" with the actual LinkedIn profile ID you want to scrape. The scrapper function returns a promise that resolves to the scraped data.
linkedin-catcher relies on the following dependencies:
cheerio
puppeteer
Please ensure that you have these dependencies installed in your project.
It's important to note that web scraping may be against LinkedIn's terms of service. Make sure to review and comply with LinkedIn's policies before using LinkedInsight or any similar web scraping tools.