⚠️ Warning: This script does not support two-factor authentication for LinkedIn. For the automation to work properly, please ensure that your LinkedIn account is set up for single sign-on (i.e., no two-factor authentication).
This project automates the process of sending connection requests to LinkedIn recruiters. It uses a .env file to securely store login credentials and includes a script.sh file to run the necessary commands.
Before running the project, ensure that the following are installed:
- Python 3.x
- Selenium (for browser automation)
python-dotenv(for loading environment variables from the.envfile)- Bash (for executing the
script.sh)
In the root directory of your project, create a .env file to store your LinkedIn login credentials. The .env file should be structured like this:
EMAIL=your-email@example.com
PASSWORD=your-password
This file will be used to log into LinkedIn during the automated process.
Make sure that the script.sh file has the proper permissions to be executed. You can do this by running:
chmod +x script.shBefore running the project, make sure you have all necessary Python dependencies installed. Run the following command to install selenium, python-dotenv, and any other required libraries:
bash script.shpython3 cron.py