thisisparker / xword-dl

⬛⬜⬛ Command line tool to scrape crosswords from online solvers and save them as .puz files ⬛⬜⬛
MIT License
145 stars 31 forks source link

RFE: newyorker: extract title (theme) from Friday crosswords #111

Closed edsantiago closed 1 year ago

edsantiago commented 1 year ago

Friday New Yorker crosswords are themed. I just happened to notice that today's includes a subheading Today's theme: Genre studies. It looks like all Fridays have a Today's theme: XX subheading. Would that be easy to detect and set as / append to puzzle title?

Thank you!

thisisparker commented 1 year ago

I have a sense I had previously considered this and decided that it's not a "title," but looking at it now I think I agree with you. I do try to be minimally destructive with changes to copy, but maybe the theme title (if present) could replace "The Crossword" as the thing before the colon and date? I don't want to remove the date from the title

edsantiago commented 1 year ago

Title can be pretty long, e.g. (from today's A.V. club): June 30, 2023 - "Twisted Logic" (themeless) - Kunal Nabar, edited by Max Carpenter. I think think appending colon+theme would be safe.