Automated NYT crossword to Dropbox downloader, built with AWS.
- Inspiration
- All credit to Nathan Buchar for the Node JS code
- AWS account
- Dropbox account + API token
- New York Times Games subscription
- Terraform v1.0.0 or greater
- Extract cookie from authenticated NYT session and pass cookie string into
var.nyt_cookie
- This string can be extracted using
console.log(document.cookie)
while in an authenticated session - Cookies that are required to authenticate are:
nyt-a
,NYT-S
,nyt-auth-method
, andnyt-m
- This string can be extracted using
- Pass Dropbox API key into
var.dropbox_token
- Deploy via Terraform
- The Dropbox API token and NYT cookie are stored in plaintext in the Lambda environment variables. By default, they are encrypted at rest. It is advisable to also enable helpers for encryption in transit using a customer-managed KMS key.