Skip to content

A GitHub Action workflow for automating the collection of crime and fire logs posted by the University of Southern California's Department of Public Safety.

License

Notifications You must be signed in to change notification settings

biglocalnews/usc-crime-reports-scraper

Repository files navigation

A GitHub Action workflow for automating the collection of crime and fire logs posted by the University of Southern California's Department of Public Safety.

Links

Contributing

Fork the repository and clone the repository. Move into the code directory. Install the dependencies.

pipenv install --dev

Install the pre-commit hooks.

pipenv run pre-commit install

Create a .env file and set the required DocumentCloud variables. You'll need to provide credentials with access to our project. Contact Ben Welsh if you need to be given access to the project.

DOCUMENTCLOUD_USER=
DOCUMENTCLOUD_PASSWORD=
DOCUMENTCLOUD_PROJECT_ID=usc-department-of-public--210827

Run the scrape command.

pipenv run python -m src.scrape

About

A GitHub Action workflow for automating the collection of crime and fire logs posted by the University of Southern California's Department of Public Safety.

Topics

Resources

License

Stars

Watchers

Forks