A powerful, asynchronous scraper for LinkedIn job postings without authentication.
Project description
LinkedIn Job Extractor (ljobx)
A fast, simple tool to scrape LinkedIn job postings without needing to log in. It can be used as a powerful command-line script for automation or as an interactive web interface for easy scrapping. It uses LinkedIn’s public APIs, supports flexible proxy configurations, and saves results to JSON or CSV.
The GitHub repository can be found at: tusharkr1918/ljobx
✨ Features
- Dual Interface: Use it as a powerful command-line tool for scripting or as an interactive web UI.
- Simplified UI Mode: Launch the web interface with a
--basicflag for a cleaner, more streamlined experience that's perfect for less technical users. - No Login Needed: Scrapes public job postings anonymously.
- Advanced Filtering: Filter by date, experience level, job type, and remote options.
- Concurrent Scraping: Fetches multiple jobs at once with randomized delays.
- Flexible Proxy Support: Load proxies from API providers (like Webshare) or directly from your own local text files.
- Structured Output: Save results as clean, timestamped
JSONorCSVfiles. - Latest Symlink: Automatically creates a
_latestfile pointing to the newest results.
📥 Installation
You can install the tool in two ways, depending on your needs.
Standard Install (CLI Only)
For just the command-line tool, a standard installation is all you need:
pip install ljobx
Full Install (CLI + Web Interface)
To use the interactive web UI, install the package with the [ui] extra. This will download the additional libraries needed, like Streamlit.
pip install 'ljobx[ui]'
(Note: The quotes are important for some shells like zsh.)
🚀 Usage
The tool can be run as a command-line script or as a web application.
Command-Line (CLI)
Provide a search query and a location. Use flags for more control.
# Basic search saving to CSV
ljobx "Software Engineer" "Remote" --to-csv
# Advanced search with multiple filters
ljobx "Senior Python Developer" "Noida, India" \
--job-type "Full-time" \
--date-posted "Past week" \
--max-jobs 50 \
--concurrency 2 \
--delay 3 8
Web Interface (UI)
If you performed a full installation, you can launch the Streamlit web interface.
# Launch the full-featured web UI
ljobx-ui
# Launch the simplified web UI with fewer options
ljobx-ui --basic
For a finer-tuned experience, override the basic UI defaults to adjust concurrency and delay based on your proxy configuration.
# Launch the basic UI with higher concurrency for faster scraping
ljobx-ui --basic --concurrency 5 --delay 2 4
⚙️ CLI Options
Required Arguments:
keywords: The job title or skill to search for.location: The geographical location (e.g., "Noida, India", "Remote").
Filtering Options:
--date-posted:Any time,Past month,Past week,Past 24 hours--experience-level:Internship,Entry level,Associate,Mid-Senior level, etc.--job-type:Full-time,Contract,Part-time, etc.--remote:On-site,Remote,Hybrid
Scraper Settings:
--max-jobs: Max number of jobs to scrape (Default:25).--concurrency: Number of parallel requests (Default:2).--delay MIN MAX: Random delay range in seconds (Default:3 8).--to-csv: Save output as a CSV file instead of JSON.--proxy-config FILE_OR_URL: Path or URL to a proxy YAML config.
💡 A Note on Performance: It's highly recommended to adjust
--concurrencyand--delaybased on your proxy setup.
- With many working proxies, you can be more aggressive for faster scraping (e.g.,
--concurrency 10 --delay 1 3).- With few or no proxies, you must be conservative to avoid getting blocked. It's safest to use the default values.
🔌 Proxy Configuration
The tool offers a powerful and flexible proxy system configured via a YAML file.
Example config.yml:
# --- API Providers (Optional) ---
# Fetches proxies from a supported provider's API.
proxy_providers:
- name: webshare
config:
api_key: "YOUR_WEBSHARE_API_KEY"
page_size: 100
max_pages: 5
# --- Local Files (Optional) ---
# Loads proxies directly from your own text files.
proxies_files:
- path: "/path/to/your/socks_proxies.txt"
protocol: "socks5"
Server & Deployment Usage (Default Proxy Config)
When you run ljobx or ljobx-ui, it automatically looks for a file named proxy_config.yml in a default system location. This is the recommended method for servers and deployed applications.
Simply create your proxy_config.yml file in the correct directory, and the tool will use it automatically without needing the --proxy-config flag.
- Linux/macOS:
~/.config/ljobx/proxy_config.yml - Windows:
C:\Users\<YourUser>\AppData\Roaming\ljobx\proxy_config.yml
This method is ideal for services like Streamlit Community Cloud, as you can place your configuration file (using API providers, not local file paths) in the repository, and the deployed app will pick it up automatically.
Loading Proxies from Files (proxies_files)
This feature gives you full control over your proxy lists but is best for local use. The system follows these rules:
- Default Protocol: If you specify a
protocol(e.g.,"socks5"or"https"), it will be automatically added to any proxy in that file that doesn't already have one. - No Default Protocol: If you only provide the
path, the tool expects every line in the file to be a complete proxy URL (e.g.,socks5://user:pass@ip:port). - Security Filter: The tool will always ignore any proxy that starts with insecure
http://.
Command:
ljobx "Java Developer" "Delhi, India" --proxy-config "config.yml"
📂 Output & Data Fields
Results are saved as timestamped JSON or CSV files (e.g., keywords_YYYYMMDD_HHMMSS.json), with a _latest symlink for easy access.
The scraper extracts the following data for each job:
job_idtitlecompanylocationposted_dateapplicants(if available)salary_range(if available)descriptionapply(URL and whether it's an "Easy Apply")recruiter(Name, Title, and Profile URL, if available)
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 ljobx-1.3.9.tar.gz.
File metadata
- Download URL: ljobx-1.3.9.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac7342a93fce59ca2e7bb5129f77a51a31f6d1acf0f2b074d0b9e65a486156ee
|
|
| MD5 |
8666534a3c8a5429e38174816f33bc5f
|
|
| BLAKE2b-256 |
cdebd340021621424654b1245948cc453372587e725f80d200e9e9d84c23bab0
|
File details
Details for the file ljobx-1.3.9-py3-none-any.whl.
File metadata
- Download URL: ljobx-1.3.9-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
722ba7b5009b057bc69b204ac35044c60b6544f7998776f9858752e7d7e06c94
|
|
| MD5 |
ae09617f7a3c00efe2730273d605e6f6
|
|
| BLAKE2b-256 |
39b7de981c74dc828aeba7d961429394812b9fae9a2ff722540c2406c8921dea
|