An exremely simple Python scraper to collect weekly eviction filing counts from MassLandlords. We use these counts to validate the number of filings we're retrieving using our filing downloader tool.
It fetches all counts starting from the week ending 10-24-2020 and continuing through the most recent available week.
It's extremely simple---its only requirement is the requests
library. Per usual, get started by creating a python environment, activating it, and installing requirements.
python -m venv ./venv
source ./venv
python -m pip install -r requirements.txt
python ./scraper.py