This code is going to be used to scrape the UCPD Daily Incident page at a pre-determined frequency and store the incidents on a generic JSON data-store.
Added a command that downloads all Incident records to a local CSV.
Checklist before requesting a review
[x] The code runs successfully.
(ucpd-incident-scraper-py3.11) michaelp@MacBook-Air-5 ucpd-incident-scraper % make download
python -m incident_scraper download
Downloaded 1260 incident records.
Saved 1260 incident records to a CSV.
Program shutting down, attempting to send 1 queued log entries to Cloud Logging...
Waiting up to 5 seconds.
Sent all pending logs.
(ucpd-incident-scraper-py3.11) michaelp@MacBook-Air-5 ucpd-incident-scraper %
Describe your changes
Added a command that downloads all Incident records to a local CSV.
Checklist before requesting a review