GithubHelp home page GithubHelp logo

linkedin-puppeteer's Introduction

Scraper 1

  • Scraper to scrape serach results on 'people'

How to run

  • Open scraper1.js and enter email and password for your linkedIn account and the searchQuery at line number 5,6 and 7.
  • In line number 8, mention what are the page nummbers you want to scrape from. It can be a singe page (ex: 3), multiple pages (ex: 2,3,4) or it can be a range (ex: 2-4)
  • Run node scraper1.js. This will take some time depending on how many pages to scrape. Once done, data (name, image link, title, summery) will be saved in scraper1-data folder.

Scraper 2

  • Scraper to get email IDs of all the connects. This is done in two parts. scraper2-1 is run first and then scraper2-2 is run then.

Scraper 2-1

This scraper will get the profile links of all the connections (of the loggen in account).

How to run

  • Open scraper2-1.js and enter email and password for your linkedIn account at line number 4 and 5.
  • Run node scraper2-1.js. This will save the profile links (and names) in scraper2-data folder. If you run this again, It will look for new connections and update the list.

Scraper 2-2

For this scraper to run, the first scraper should have been run once.

How to run

  • Open scraper2-2.js and enter email and password for your linkedIn account at line number 4 and 5.
  • In line number 6, enter the number of profile (countPerDay) to scrape for email. (LinkedIn does not allow bulk profile views. This is to avoid that). If you enter 5, scraper will scrape 5 profiles and save the emails in the same file. When you run the scraper agian, it will scrape 5 new profiles and save the emails. i.e, if you run this three times, it would scrape 15 emails (assuming countPerDay = 5)
  • Run node scraper2-2.js. This will update the profile links (and names) in scraper2-data folder with the email.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.