An open API service indexing awesome lists of open source software.

https://github.com/jdan/getxword

Fetches the NYTimes Crossword
https://github.com/jdan/getxword

Last synced: 3 months ago
JSON representation

Fetches the NYTimes Crossword

Awesome Lists containing this project

README

          

## getxword

Fetches the [NYTimes Crossword](https://www.nytimes.com/crosswords) with the option to upload it to my [reMarkable 2](https://remarkable.com/) using [rmapi](https://github.com/juruen/rmapi)

### installation

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

Chrome Devtools showing the request

### usage

Fetch the crossword

```sh
getxword # Outputs to a file like Jun1123.pdf
```

Fetch the crossword for a particular date (i.e. July 20, 2022)

```sh
getxword -d Jul2022 # Outputs to Jul2022.pdf
```

Open the crossword

```sh
getxword -o # Downloads the crossword and opens it in your browser
```

Upload the crossword

```sh
getxword -d Jul2022 -u # Uploads the PDF to your remarkable
# renames to 'Wednesday, July 20, 2022' on device
```