Code Monkey home page Code Monkey logo

linkedin-scraper's Introduction

LinkedIn Lead Scraper

A LinkedIn Scraper to scrape up to 10k LinkedIn profiles and save their e-mail addresses if available!
It collects 10k profiles from LinkedIn directory and their details like name, current position/headline and their location information. After all profiles are collected, it starts finding their email addresses

Prerequisites

  1. Python 3.x only (Download from here) and make sure to tick on "Add to PATH" during installation in windows machines
  2. Installation of below module using command line
pip3 install requests
  1. Account in LinkedIn is a must! You can create temporary profiles if you want.

Variants Details

Random_Scraper.py is the initial development of the scraper that collects up to 10k random linkedin profiles from directory and picks info from their profile
CompanyWise_Leads.py is the revised version of the code to be able to collect company wise employee profiles for more leads information.

Limits

  • Do not login from IP address from where you don't usually login to your linkedin account, otherwise it will trigger their security system and won't let you login.
  • Result is limited to 10,000 records only
  • First page data is not collected due to being away from API endpoint capability.

Usage

Once you have installed and setup the prerequisites, open the code(.py file) with a text editor(must not be any rich text editor) and you will see linkedin_email and linkedin_password variables.
Put your linkedin email and password there(inside the double quote) and save the code
Now you can double click the Random_Scraper.py or CompanyWise_Leads.py to execute and for linux or mac users, in the terminal, cd to script folder and type

python3 Random_Scraper.py
Or,
python3 CompanyWise_Leads.py

linkedin-scraper's People

Contributors

tufayellus avatar

Watchers

James Cloos avatar  avatar

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.