Installation
Install JobSpy JS globally to use thejobspy command:
Basic Usage
The simplest scrape requires just a site and search term:Quick Examples
Output Formats
Terminal Table (default)
Without-o/--output, results print as a formatted table:
JSON Output
Use-o with a .json extension:
CSV Output
Use-o with a .csv extension:
Core Workflow
A typical JobSpy CLI workflow:- Search — scrape jobs from one or more sites
- Filter — apply location, remote, type, and recency filters
- Deduplicate — (optional) track previously seen jobs with
--profile - Export — save results as JSON or CSV
Common Options
| Flag | Description | Default |
|---|---|---|
-s, --site | Job boards to scrape | all sites |
-q, --search-term | Search query | — |
-l, --location | Job location | — |
-n, --results | Results per site | 15 |
-r, --remote | Remote jobs only | false |
-t, --job-type | Employment type | — |
-o, --output | Output file (.json or .csv) | stdout |
--hours-old | Max posting age in hours | — |
-v, --verbose | Verbosity level (0-2) | 0 |
Supported Job Boards
The CLI supports all 9 job boards:| Site | Key | Notes |
|---|---|---|
linkedin | HTML scraping | |
| Indeed | indeed | GraphQL API |
| Glassdoor | glassdoor | GraphQL API |
| Google Jobs | google | Playwright (requires proxy/clean IP) |
| Google Careers | google_careers | Jobs at Google (the company) |
| ZipRecruiter | zip_recruiter | Web scraping |
| Bayt | bayt | HTML scraping |
| Naukri | naukri | REST API |
| BDJobs | bdjobs | REST API |
Next Steps
Commands
Complete CLI flag reference and advanced examples
Config Profiles
Define reusable search profiles in jobspy.json
Deduplication
Track and filter previously seen jobs across runs
SDK Reference
Use JobSpy programmatically in Node.js
