Skip to content

Python script to extract data of Linkedin job openings using Selenium and BeautifulSoup. Storing the data using Google Sheets API.

License

Notifications You must be signed in to change notification settings

swx0/linkedin-jobs-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Linkedin Jobs Scraper 🔍

About

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

demo

Setup

To start scraping job information from Linkedin:

  1. Install these libraries:
pip install selenium
pip install beautifulsoup4
pip install gspread
  1. Find the respective WebDriver for your Chrome version. Save this chromedriver.exe in the same directory as the .py script

  2. 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.

  1. 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"

  2. 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')
    
  3. Run .py script

About

Python script to extract data of Linkedin job openings using Selenium and BeautifulSoup. Storing the data using Google Sheets API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages