A command-line tool that scrapes job listings from TimesJobs based on keywords you provide.
- Clone the repository by
git clone https://github.com/AdarsHH30/web-scraping.git - Install dependencies:
pip install beautifulsoup4 requests colorama lxml - Create a
Jobsdirectory in the project folder:mkdir Jobs - Run the scraper:
python scraper.py - Enter the job keyword when prompted
- Enter the number of pages to scrape (each page has 25 job listings)
- Results will be saved as JSON in the
Jobsdirectory
The tool extracts job titles, links, descriptions, required skills, and locations from TimesJobs.com and saves them in a structured JSON format.