Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 937 Bytes

readme.md

File metadata and controls

17 lines (16 loc) · 937 Bytes

Rentifier

Setup

  1. npm install
  2. Go on Domain and do a search with criteria you're interested in (ie. rent, bedrooms, etc). Copy that URL and replace the Test Cafe fixture URL in scrapeProperties.js
  3. Update the points of interest and column names in scrapeProperties.js
  4. Get a Google API Key https://developers.google.com/maps/documentation/distance-matrix/get-api-key
  5. Associate the Distance Matrix API with the App you made above in Google Console
  6. Fill alreadyRated.txt with addresses to skip, one per line (to save your google $$$)
  7. API_KEY=your-api-key npm scrape
  8. Find rent.csv, import into Google Sheets/Excel, add conditional formatting colour gradients, filtering, etc
  9. Voila

Backfilling

  1. Fill up the alreadyRated.txt
  2. run API_KEY=your-api-key npm backfill
  3. Find backfill.csv