Skip to content

Latest commit

 

History

History
72 lines (44 loc) · 1.67 KB

README.md

File metadata and controls

72 lines (44 loc) · 1.67 KB

linkedin

This repository contains code to automate common tasks in LinkedIn. You will need sales navigator subscription to use this tool. This is under active development and is not ready for general use

Disclaimer

LinkedIn will ban your account if you abuse this tool and do too many activities. We are not liable for any misuse of this tool. Use it wisely.

Installation

Create virtualenv and install requirements using:

virtualenv venv --python=python3.7
source venv/bin/activate
pip install -r requirements.txt

Next, you'll need to setup at webdriver for Chrome

Setup Chrome WebDriver

Download and install Chrome webdriver from chromium site here

Google Drive API credentials

Go to Google Cloud Console here

Create or choose a project

Enable Google Sheets API in the project

Create credentials

Create service account and download json file

Copy the service account email

Create and download json keys and name it gsheets.json and save it in current directory

Do not share these credentials

Usage

  • Run a test to check connectivity to data sheet
linkedin test
  • Save search results to google sheet. Will skip out of network
linkedin salesnav search --url=<search-url> --start-page=2 --num-pages=4
  • Follow with LinkedIn profiles from salesnav data
linkedin salesnav follow --batch-size=100
  • Connect with LinkedIn profiles from salesnav data
linkedin salesnav connect --batch-size=100 --message='Hi {first_name}, I would like to connect with you'
  • To withdraw old invitations using page number
linkedin invitations withdraw --page=10