This is a Python script for scraping LinkedIn profiles to extract information about a user's work experience, education, and skills. It uses the Selenium and BeautifulSoup libraries to automate the process of logging into LinkedIn and navigating to each user's profile page, and then extracts relevant information using web scraping techniques.
- Install Python 3.x on your machine
- Clone this repository to your local machine using
git clone https://github.com/T81oub/LinkedIn-Profiles-scraping
- Install the required Python packages by running
pip install -r requirements.txt
- Download the latest version of ChromeDriver from https://sites.google.com/a/chromium.org/chromedriver/downloads and extract the executable to a directory on your machine
- Update the
path
variable in themain.py
file to point to the location of your ChromeDriver executable - Create a
login.txt
file in the same directory asmain.py
with your LinkedIn account login credentials in the formatemail\npassword
- Run
python main.py
to start the scraper and follow the prompts to input the LinkedIn profile URLs you want to scrape
This script can be used to extract information from LinkedIn profiles for research or analysis purposes. However, please use this tool responsibly and within the terms of service of LinkedIn. This tool should not be used for spamming or other unethical purposes.
This project is licensed under the MIT License - see the LICENSE
file for details.