Skip to content

Basic Tutorial

Wagner Leonardi edited this page Oct 16, 2019 · 6 revisions

Requirements

  • Node.js >= 7.6.0: You can download Node.js here.

Instalation

  • via npm: npm i scrapedin

Usage:

  1. Require scrapedin in your code:
const scrapedin = require('./src/scrapedin')
  1. Create an options object with scrapedin parameters:
const options = {
  email: 'your.linkedin@email.com',
  password: 'your.linkedin.password'
}
  1. Call scrapedin function, and use the returned profileScraper function to scrap a LinkedIn profile:
const profileScraper = await scrapedin(options)
const profile = await profileScraper('https://www.linkedin.com/in/some-profile/')

Clone this wiki locally