AcademicJobScraper
A Python package for scraping and filtering academic job listings from academicjobsonline.org.
Installation
pip install academicjobscraper
Usage
As a Python Module
from academicjobscraper import AcademicJobScraper
# Initialize the scraper with required keywords and optional file names
scraper = AcademicJobScraper(
keywords=["machine learning", "deep learning", "AI"], # Required
links_file="job_links.csv", # Optional (default: job_links.csv)
data_file="jobs_data.json", # Optional (default: jobs_data.json)
results_file="relevant_jobs.csv" # Optional (default: relevant_jobs.csv)
)
# Start scraping with a mother link
scraper.scrape("https://academicjobsonline.org/your-search-url")
Command Line Interface
# Basic usage with required parameters
academicjobscraper "https://academicjobsonline.org/your-search-url" "machine learning" "deep learning" "AI"
# With optional file name parameters
academicjobscraper "https://academicjobsonline.org/your-search-url" \
"machine learning" "deep learning" "AI" \
--links-file custom_links.csv \
--data-file custom_data.json \
--results-file custom_results.csv
Features
- Scrapes job listings from academicjobsonline.org
- Extracts detailed job information
- Filters jobs based on provided keywords
- Customizable output file names
- Progress tracking during scraping
Output Files
The scraper generates three files:
job_links.csv- Contains all scraped job URLsjobs_data.json- Contains detailed information for all jobsrelevant_jobs.csv- Contains filtered jobs matching the keywords
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for academicjobscraper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| academicjobscraper-0.1.0.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| academicjobscraper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / academicjobscraper-0.1.0.tar.gz
| Download URL | academicjobscraper-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b732ee2a7a5e7491ada730fef124e8c8107b3e9970691894bf90d23f21d2ee9
|
|
BLAKE2b-256 checksum How to use checksums |
df45caf0e08332018461031c163c8a45fec8f900948757f9d74d5722e5930267
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / academicjobscraper-0.1.0-py3-none-any.whl
| Download URL | academicjobscraper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef8b5af53ec3bf5893686f7c8ef6ac07a3254b7503c3d30def6a6f6a0eaf9f5d
|
|
BLAKE2b-256 checksum How to use checksums |
4a3a55d2c00aca464fe98197240b014956a80d1c34b2ea559a4801a2635db172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|