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.inifile - 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.inifile:[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
F12orCtrl+Shift+Ito open Developer Tools. - Go to the
Applicationtab. - In the left sidebar, under
Storage, click onCookiesand then selecthttps://www.linkedin.com. - Look for the
li_atcookie in the list. - Copy the value of the
li_atcookie and paste it into thesetup.inifile 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