This repository contains a Python script to automate sending connection requests on LinkedIn using Selenium. It supports logging in with cookies or credentials, selecting location filters, and sending personalized connection requests. The tool is configurable via an ini
file and uses color-coded console outputs for better readability.
- Login using LinkedIn cookies or credentials
- Select location filters for connection requests
- Send personalized connection requests
- Configurable via
setup.ini
file - Color-coded console outputs for better readability
-
Clone the repository:
git clone https://github.com/ahmedmujtaba1/Linkedin-Auto-Connector.git cd Linkedin-Auto-Connector
-
Install the required packages:
pip install -r requirements.txt
-
Configure your LinkedIn credentials and settings in the
setup.ini
file:[LinkedIn] li_at = YOUR_LI_AT_COOKIE_HERE email = YOUR_EMAIL_HERE password = YOUR_PASSWORD_HERE
-
Run the script:
python script.py
-
Follow the prompts to enter your search criteria and connection request details.
- Open Chrome and log in to your LinkedIn account.
- Press
F12
orCtrl+Shift+I
to open Developer Tools. - Go to the
Application
tab. - In the left sidebar, under
Storage
, click onCookies
and then selecthttps://www.linkedin.com
. - Look for the
li_at
cookie in the list. - Copy the value of the
li_at
cookie and paste it into thesetup.ini
file under[LinkedIn]
.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.
Ahmed Mujtaba - Your LinkedIn Profile