Search jobs with the keyword and location

3.1 In this section, we will scrape the related elements of the job search page

job search page

3.2 Switch to the Jobs tab, fill out keyword and location of the job, and then click the Search button

Python3




# Wait the page load completely
# after submitting login information
# Find job channel and click it
# to switch to job channel
_tab.wait_appear(locator.chrome.linkedin.job.jobs_channel,
                 wait_timeout=5).click()
  
# Wait job search keyword input
# box exists in 10 seconds
# If exists fill in with the key
# value 'linkedin_search_job_key'
# in setting.json
_tab.wait_appear(locator.chrome.linkedin.job.job_search_key,
                 wait_timeout=10).set_text(Setting.search_job_key)
  
# Find job search location input box
# Fill in with the key value
# 'linkedin_search_job_location' in setting.json
_tab.find_element(locator.chrome.linkedin.job.job_search_location).set_text(
    Setting.search_job_location)
  
# Find the search button, and click
# it to search
_tab.find_element(locator.chrome.linkedin.job.job_search).click()


Automatically Get Top 10 Jobs from LinkedIn Using Python

Here we are going to use Clicknium to scrape LinkedIn top 10 jobs. First, we will login to LinkedIn to search the jobs according to the job keyword(the title, the skill, or the company) and the location, and then get the top 10 jobs in the search results. For each job, we will get the job information, such as the title, the company name, the size of the company, the post date, the job type, and the link URL. At last, we will save the results into CSV file.

The steps overview are as below:

  • Login to LinkedIn
  • Search jobs with the keyword and location
  • Scrape the information of the top 10 jobs
  • Save search results into csv file

Similar Reads

Installation

1.1 Python modules...

Login to LinkedIn

2.1 Capturing Steps using clicknium VS Code extension...

Search jobs with the keyword and location

...

Scrape the information of the top 10 jobs

3.1 In this section, we will scrape the related elements of the job search page...

Save search results into csv file

...

Below is the complete implementation

4.1 In this section, we will scrape the elements below:...