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
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.
virtualenv venv --python=python3.7
source venv/bin/activate
pip install -r requirements.txt
Next, you'll need to setup at webdriver for Chrome
Download and install Chrome webdriver from chromium site here
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
- 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