Linkedin Jobs Scraper extracts the following data from Linkedin search results:
-
Job data-id
-
Location
-
Company Name
-
Position
-
Job description
Afterwhich, the data obtained would be written and saved in Google sheets using Google Sheets API
To start scraping job information from Linkedin:
- Install these libraries:
pip install selenium
pip install beautifulsoup4
pip install gspread
-
Find the respective WebDriver for your Chrome version. Save this chromedriver.exe in the same directory as the .py script
-
Create Google Cloud Platform account (if you haven't). Follow this guide to authorize and authenticate access to the sheets. You should obtain the JSON file with credentials, rename this file as 'client_key.json' and save it in the same directory as the .py script.
✔️ Remember to share the created Google sheets with the client_email found in the JSON file.
-
Obtain a link from Linkedin that indicates your target position and location. The following is a sample link "https://www.linkedin.com/jobs/search/?keywords=Software%20Engineer&location=United%20States"
-
Read the comments in .py script, and edit:
- string as the title name of your Google Sheets
sheet = client.open('rename sheets title here').sheet1
- Link from step 4)
driver.get('https://www.linkedin.com/jobs/search/?keywords=Software%20Engineer&location=United%20States')
-
Run .py script