This Python script allows you to scrape job postings from Indeed.com. It demonstrates how to work with pagination, extract job titles, salary information, company names, and job summaries from the site. The scraped data is saved as a CSV file for easy analysis in Excel.
Before running the script, make sure you have the following installed:
- Python (version X.X.X)
- BeautifulSoup (version X.X.X)
- Requests (version X.X.X)
You can install the required packages using pip:
pip install beautifulsoup4 requests
## Usage
1. Clone the repository:
git clone https://github.com/Mutai-Gilbert/Indeed-Jobs-Web-Scraping-Save-to-CSV.git
## Navigate to the project directory:
cd Indeed-Jobs-Web-Scraping-Save-to-CSV
## Run the script:
python scrape_jobs.py
The script will prompt you to enter the job title and location you're interested in. Once you provide the input, it will start scraping the job postings from Indeed.com.
After scraping, the script will save the data as a CSV file named jobs.csv in the project directory.
## License
This project is licensed under the MIT License - see the LICENSE file for details.