Skip to content

Tool to scrape Vancouver website for rezoning updates & publish to Slack+Bluesky

License

Notifications You must be signed in to change notification settings

rgwood/RezoningScraper

Repository files navigation

RezoningScraper

A small project written for Abundant Housing Vancouver.

Scrapes the City of Vancouver's website for rezoning and development applications, then notifies people of any changes via Slack. It's a simple standalone app using SQLite as a data store, runs on any major OS. Just copy the app (1 file, no dependencies) to a server and run it with a cron job, no further steps needed.

image

image

(screenshot is from a slightly older version that was written in C#)

How to use

Download a binary from the releases page or build it from source (install Rust then run cargo build --release). Then run it:


❯ ./rezoning-scraper --help
Usage: rezoning-scraper [OPTIONS]

Options:
      --slack-webhook-url <SLACK_WEBHOOK_URL>
          A Slack Incoming Webhook URL. If specified, will post info about new+modified rezonings to this address.
      --api-cache
          Use cached API responses (up to 1 hour old) when available
      --skip-update-db
          Skip updating the local database (useful for testing)
  -h, --help
          Print help
  -V, --version
          Print version

License

Public domain. Do whatever you like with this code, no attribution needed.

To Do

About

Tool to scrape Vancouver website for rezoning updates & publish to Slack+Bluesky

Resources

License

Stars

Watchers

Forks

Packages

No packages published