[PyPI version]
[Python versions]
[Downloads per month]
[CI]
[License: MIT]
[Discord]
JobSpy is a job scraping library that aggregates jobs from popular job boards with one tool:
- Scrapes job postings from LinkedIn, Indeed, Glassdoor, ZipRecruiter, Bayt, Naukri, BDJobs & HelloWork concurrently
- Aggregates the job postings in a dataframe
- Proxy support to bypass blocking
[JobSpy demo]
Installation
Python version >= 3.10 required
Usage
Output
Command line
The package installs a jobspy command whose options mirror the scrape_jobs() parameters below; jobspy -h lists them, the output fields and exit codes.
MCP server
mcp-jobspy is an MCP server that runs with uvx mcp-jobspy@latest. See mcp/README.md for setup, tools and proxies.
Standard config works for most clients:
Parameters for scrape_jobs()
Supported Countries for Job Searching
LinkedIn
LinkedIn searches globally & uses only the location parameter.
ZipRecruiter
ZipRecruiter searches for jobs in US/Canada & uses only the location parameter.
Indeed / Glassdoor
Indeed & Glassdoor support most countries, chosen with the country_indeed parameter (default usa). Additionally, use the location
parameter to narrow down the location, e.g. city & state if necessary.
You can specify the following countries when searching on Indeed (use the exact name, * indicates support for Glassdoor):
Bayt
Bayt searches all countries unless location names one it covers, e.g. "Dubai, UAE" or "Saudi Arabia".
BDJobs
BDJobs searches Bangladesh. location takes a division or district, e.g. "Dhaka" or "Chattogram Division".
Naukri
Naukri searches India. location takes a city, e.g. "Pune".
HelloWork
HelloWork searches France. location takes a French city, postcode or region, e.g. "Lyon". Most jobs are posted in French, so French search terms find more.
Notes
- Indeed is the best scraper currently with no rate limiting.
- Indeed's
date_posted is the day a job was added to Indeed, the same date hours_old filters on.
- Most job board endpoints are capped at around 1000 jobs on a given search.
- LinkedIn rate limits bursts of requests with a 429, which clears within about a minute. Use proxies for larger searches.
- Glassdoor rate limits above about 2 requests a second.
Frequently Asked Questions
Q: How do I tell a blocked board from one with no jobs?
A: Failures and ignored options are logged as they happen, and the result's attrs carry the same messages so your code can read them:
Q: Why is Indeed giving unrelated roles?
A: Indeed searches the description too.
- use - to remove words
- "" for exact match
Example of a good Indeed query
This searches the description/title and must include software, summer, 2025, one of the languages, engineering intern exactly, no tax, no marketing.
Q: No results when using "google"?
A: Google Jobs is currently unavailable.
Q: Received a response code 429?
A: The board blocked you for sending too many requests. All of the job board sites are aggressive with blocking. We recommend:
- Wait some time between scrapes (site-dependent).
- Try using the proxies param to change your IP address.
JobPost Schema
A column is empty when the job board doesn't provide it.