Twocan Politics
Fill in credentials in a .env file or in your environment.
$ npm i
$ ./start.sh
$ ./psql.sh
$ ./stop.shBe sure to have httpie and jq installed via Homebrew or another tool:
$ brew install httpie jq...and then download away:
$ mkdir data && cd data
$ http --json https://www.govinfo.gov/bulkdata/json/BILLS/116/1/hr | jq '.files[] | select(.mimeType == "application/zip") | .link' | xargs http -d | tar xzf -