Fetches the NYTimes Crossword with the option to upload it to my reMarkable 2 using rmapi
You'll need to save your nytimes.com cookies to cookie.txt. I find it easiest to do this by opening a URL like https://www.nytimes.com/svc/crosswords/v2/puzzle/print/Jun1123.pdf in your browser with Chrome DevTools open, then navigating to the request -> Header -> Cookie
Fetch the crossword
getxword # Outputs to a file like Jun1123.pdfFetch the crossword for a particular date (i.e. July 20, 2022)
getxword -d Jul2022 # Outputs to Jul2022.pdfOpen the crossword
getxword -o # Downloads the crossword and opens it in your browserUpload the crossword
getxword -d Jul2022 -u # Uploads the PDF to your remarkable
# renames to 'Wednesday, July 20, 2022' on device