Hello, everyone. Long time listener, first time caller.
Here's what I'm setting out to do: because I can no longer reliably receive a delivery of the New York Times for my daily crossword obsession, I'm now a subscriber to their digital crossword. I still prefer to do the puzzle on paper, and fortunately the NYT offers a scale PDF of the puzzle each day. I'm hoping to write a script (I'm incredibly new to this) to download the file and print it every day so that I can feel like I live in a future where magic robots deliver my crossword puzzle to my printer each morning.
The file naming scheme is simplistic and consistent. As an example, here's today's PDF location:
Obviously, the only thing changing here daily is the file name. I'm hoping I can use today's date to scrape the relevant information and generate the correct filename on a daily basis.
From there I assume it should be trivial to download the file to a specific location and automatically send it to the printer. I've been poking around, and I have some level of confidence that I can pull off the downloading and printing parts. I don't, however, have any idea how to get started generating the daily file name.
Any assistance you can provide would be hugely helpful. I know the basic answer is "learn to code, it's really helpful." I'm willing to put some time and effort in here, but I figured this would be a great place to start.
Thanks in advance, and happy Veteran's Day!