Craigslist Ad Scraper

A web scraper that scrapes ads from Craigslist, stores each ad in a separate file, and lets the user search from those files.

Built With

This ad scraper is built in Python using:

Prerequisites

  • Python 3 or Jupyter Notebook should be installed and properly configured on your system.
  • Both .py and .ipynb files contain the same source code.

Demo

Set the number of ads you want to scrape and run the script. The ads will be scraped and stored in separate files.

1- Create Files
diamonds

You can now search from the stored files.

2- Search
diamonds

You can also enter queries contaminated with punctuations and the program will de-contaminate the query and fetch the right result.

3- Contaminated String
GitHub - codesnerd/craigslist-ad-scraper: 📰 This repository contains one of my course assignments called “Information Retrieval System”.
📰 This repository contains one of my course assignments called "Information Retrieval System". - GitHub - codesnerd/craigslist-ad-scraper: 📰 This repository contains one of my course assi...