Skip to content

A tool built with Puppeteer that parses the LinkedIn profiles of a company's employees and returns the list of active employees.

License

Notifications You must be signed in to change notification settings

stanipetrosyan/conactivity

 
 

Repository files navigation

Hi 👋, this project is being actively developed and maintained. If you would like to receive updates about the progress, you can follow @ayushjn_ on Twitter 👤.

ConActivity

"Connect with active LinkedIn users"

License: MIT GitHub issues PRs welcome! All Contributors GitHub stars Follow @ayushjn_

Do you find it difficult to network with people on LinkedIn?

If most of your connection requests to recruiters or employees are not being accepted then there's a possibility that:

  • You didn't attach an invite note with the connection request (but you can eliminate this next time when you send the requests).
  • A particular employee might not be interested in accepting the connections or is not interested in your profile (this rarely happens).
  • The most frequent reason for a connection request not being accepted is that the employee may not be active on LinkedIn or does not have time to check their account.

To avoid waste of time and effort sending connection requests to inactive LinkedIn members, use ConActivity.

ConActivity is a tool that scrapes LinkedIn data and returns the profile links of a company's employees active on LinkedIn. Using ConActivity, you can target active LinkedIn users and send connection requests.

Getting started

Try it out!

Prerequisites

Usage

  • Clone the repo.

    git clone https://github.com/ayushjainrksh/linkedin-scraper.git

  • Navigate to the cloned repo.

    cd conactivity

  • In the root directory, install dependencies.

    npm install

  • Add your credentials
    • Create a .env file in the root directory.

      touch .env

    • Add your LinkedIn account credentials and the company's LinkedIn handle. Your .env file should look like:
      EMAIL=<LinkedIn email ID>
      PASSWORD=<LinkedIn password>
      COMPANY=google
      
  • Now you're all set. Run the script.

    npm start

Wait for the script to complete parsing. The links would appear in the terminal. You can visit the active user profiles and connect by attaching an invite note. Update the .env file to repeat the process for any other company.

How does it work?

  1. The user enters the company's LinkedIn handle and runs ConActivity.
  2. The script launches an automated browser tab.
  3. The user is logged in with their account credentials automatically.
  4. The script redirects to the company's profile page and visits the all employees page from there.
  5. Now the script scrapes all the links to user profiles and visits their activity pages one by one.
  6. It parses the last 5 activities(likes, comments, posts, etc.) of employees.
  7. The script return urls of the employees active on linkedIn within a week.
  8. You can use these URLs to visit the profiles and send connection requests.

Features

  • Get direct LinkedIn handles of active employees of a company in a few minutes.
  • LinkedIn users won't be notified when you use the script as it doesn't visit their profiles.

Caveats

  • Problematic with slow internet speed (check your internet connection and try again).
  • There's a limit to the number of LinkedIn logins at a given time (if you see a security check on login, please wait for some time before using the script again).

LICENCE

ConActivity is licenced under the MIT Licence.

Contributing ❤️

Follow contributing.md to start contributions.

Code of Conduct

Read our code_of_conduct.md

If you get stuck somewhere, feel free to open an issue for discussion or shoot a DM on my socials.

Terms of service

Please read LinkedIn's User agreement before using this script.

This script is being used for educational purposes only and discourages users to scrape large amount of data at a time as this can lead to the termination of their LinkedIn account. The author or any of the contributor doesn't hold any responsibility in such a case whatsoever. It is recommended to use a secondary LinkedIn account to use the script for a longer period of time to avoid the risk of losing your LinkedIn account.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Ayush Jain

💻 📖

Nancy Chauhan

💻 🐛

Rachitt Shah

📖

Swapnil Sengupta

📖

Rajkumar S

💻 🐛

Cedric Wille

💻

Aman Desai

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A tool built with Puppeteer that parses the LinkedIn profiles of a company's employees and returns the list of active employees.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%