Skip to content

harry-s-grewal/mls-real-estate-scraper-for-realtor.ca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realtor.ca Scraper

Lightweight Selenium-based scraper using undetected-chromedriver.

Requirements

  • Python 3.8+
  • Chrome / Chromium installed
  • Python deps:
python -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

Chromedriver

  • You need a ChromeDriver that matches your installed Chrome.
  • Official download and instructions: https://sites.google.com/chromium.org/driver/
  • On Linux you can also install via your package manager or download the matching release and place the chromedriver binary on your PATH.

Usage

Run the main script and set city and max_pages in realtorca.py, or modify the call in main().

Example (simple):

python3 realtorca.py

What it does

  • Automates the homepage search, selects the first autocomplete result, waits for results, and parses listing cards (div.smallListingCard) to extract Address, Price, Bedrooms, Bathrooms, SquareFootage, MLS and Link.

TODO:

  • This repository currently does not implement filtering by price, beds, or baths. It also has no information on rentals.

License: MIT

About

Python MLS and Real-Estate Data Scraper for the Realtor.ca Website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages