Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielchua/mcf-jobs
Unofficial python api for MCF job
https://github.com/gabrielchua/mcf-jobs
Last synced: 17 days ago
JSON representation
Unofficial python api for MCF job
- Host: GitHub
- URL: https://github.com/gabrielchua/mcf-jobs
- Owner: gabrielchua
- License: mit
- Created: 2024-01-23T15:28:01.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-23T15:38:53.000Z (10 months ago)
- Last Synced: 2024-10-11T09:31:02.363Z (about 1 month ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unofficial MCF Jobs Python Wrapper
## Overview
This is a Python script designed for scraping job postings from the MyCareersFuture (MCF) API. It retrieves data about job listings and outputs the information to a CSV file.## Features
- Retrieves job postings from the MCF API.
- Supports specifying the number of job postings to scrape.
- Outputs the scraped data to a CSV file for easy analysis and storage.
- Includes error handling to ensure robust scraping performance.## Requirements
- Python 3
- `requests` library
- `tqdm` library## Installation
Before running the script, ensure you have Python 3 installed on your system. You also need to install the required libraries. You can install these using pip:```bash
pip install requests tqdm
```## Usage
To use the script, navigate to the directory containing `pull_mcf_jobs.py` and run it from the command line. You need to specify the number of job postings you want to scrape using the -n argument.```bash
python pull_mcf_jobs.py -n
```For example, to scrape 500 job postings, use:
```bash
python pull_mcf_jobs.py -n 500
```## Help
If you need to see usage instructions, run:```bash
python pull_mcf_jobs.py -h
```## Output
The script outputs the scraped data to a CSV file named mcf_jobs.csv in the current directory.## Note
This script adds a delay between requests to the API to avoid hitting the rate limiter.## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.