Web scraper of jobs from LinkedIn
Project description
Overview
A Python package with a web scraper of jobs from LinkedIn.
Can be used for:
- automated jobs search 🔍
- creating custom alerts 🚨
- collecting data for analytical reports 📈
Possible extention: extract keywords from job descriptions with LLMs.
Classes
JobSearch - to get a list of jobs from LinkedIn job search page by defined parameters.
Parameters:
- keywords: keywords to search for.
- location: location to search in.
- distance (optional): distance in miles to search for.
- work_modes (optional): work modes codes to filter by: 1 - On-site, 2 - Remote, 3 - Hybrid, None - all.
- company_codes (optional): companies codes to filter by.
- industries (optional): industries codes to filter by.
- experience_levels (optional): experience levels to filter by: 1 - Internship, 2 - Entry level, 3 - Associate, 4 - Mid-Senior level, 5 - Director, 6 - Executive.
- easy_apply (optional): filter only Easy Apply jobs.
- posted_ago_max (optional): max number of second a job was posted ago, default 1 day.
Job - to parse the job page by a given url.
How to use
from selenium import webdriver
driver = webdriver.Chrome()
params = {
'keywords': 'Data Engineer',
'location': 'Germany'
}
search = JobSearch(driver, **params)
jobs = search.get_jobs() # returns the list of dicts with parsed info (position, company name, job page link, posted ago and etc.)
job = Job(driver, jobs[0]['job_link'])
description = job.get_job_description()
An extended example can be found in example.ipynb notebook.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linkedin_job_scraper-0.0.2.tar.gz.
File metadata
- Download URL: linkedin_job_scraper-0.0.2.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fcfa38965fd1c304b8f2c6db92175b2a466f3cec57fd0c3eebc96718ce8d958
|
|
| MD5 |
b9306cd391eda456be81be05b904a48e
|
|
| BLAKE2b-256 |
e75dbd2a28f68090132456e33b3cf8f906a3a9f8f1f1b7d74bc1eff024c75aaa
|
File details
Details for the file linkedin_job_scraper-0.0.2-py3-none-any.whl.
File metadata
- Download URL: linkedin_job_scraper-0.0.2-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f903c61239d1f83c450cb900a7489ce6e9cf73358ee1304239b32a8bc521849c
|
|
| MD5 |
c4b35851640cbe1e7078b8a2d5b0b558
|
|
| BLAKE2b-256 |
8759dc7a1435e39f66f3eae5170b27789736a8c432e83b87f0d961b61b43d72e
|