Skip to content

jdan/getxword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

getxword

Fetches the NYTimes Crossword with the option to upload it to my reMarkable 2 using 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

getxword  # Outputs to a file like Jun1123.pdf

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

getxword -d Jul2022  # Outputs to Jul2022.pdf

Open the crossword

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

Upload the crossword

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

About

Fetches the NYTimes Crossword

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages