This script automates the process of inviting attendees to a LinkedIn event using Selenium. It allows you to log into LinkedIn, load event attendees, and automatically send invitations. The script supports logging, making it easier to debug and track the invitation process.
First, clone the repository to your local machine:
git clone https://github.com/farukalamai/linkedin-event-auto-inviter.git
cd linkedin-event-auto-inviter
On macOS/Linux:
python3 -m venv venv
source venv/bin/activate
On Windows:
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
Before running the script, you need to edit the config.py
file to include your LinkedIn credentials, event URL, and other configurations.
LINKEDIN_EMAIL
: Your LinkedIn email address.LINKEDIN_PASSWORD
: Your LinkedIn password.LINKEDIN_EVENT_URLS
: URLS of the LinkedIn events.MAX_INVITES
: The maximum number of invitations to send per run.python main.py
Logs for each run are stored in the logs
directory. Each log file is named with a timestamp, allowing you to track and debug the script's execution.