Skip to content

lindseybaron/nextrequester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nextrequester

A hacky bit of codes to download responsive files from the atrociously designed NextRequest public records request websites.

Currently hard-coded for Los Angeles, but you should be able to just change the value of BASE_URL to whatever you want.

Requirements

  • Linux or OSX
  • Python 3.7 or higher
  • Pip
  • whatever's in the requirements.txt file

Installation

  1. Clone the repo:
    git clone git@github.com:lindseybaron/nextrequester.git
  2. Install requirements:
    cd nextrequester
    pip install -r requirements.txt
  3. Set config values in ./config.yaml
  4. Copy ./secret_example.yaml and add your login credentials:
    cp secret_example.yaml secret.yaml

Use

Single Request

To download all the files for a single records request, use the request ID from the url.

python src/nr.py req [request-id]

All Files From 'Documents'

To download all the files from https://lacity.nextrequest.com/documents:

python src/nr.py alldocs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors