Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guardian Quick Cryptics support? #46

Closed
saweyer opened this issue Oct 21, 2024 · 3 comments
Closed

Guardian Quick Cryptics support? #46

saweyer opened this issue Oct 21, 2024 · 3 comments

Comments

@saweyer
Copy link

saweyer commented Oct 21, 2024

a feature request I guess. it'd be nice to be to download these.
https://www.theguardian.com/crosswords/series/quick-cryptic

e.g., https://www.theguardian.com/crosswords/quick-cryptic/29

no puzzle found

@jpd236
Copy link
Owner

jpd236 commented Oct 22, 2024

Looks like it would be pretty straightforward to add. document.getElementsByClassName("js-crossword")[0].dataset["crosswordData"] extracts the crossword data in a (new) proprietary JSON format.

jpd236 added a commit to jpd236/kotwords that referenced this issue Oct 29, 2024
jpd236 added a commit that referenced this issue Oct 29, 2024
@jpd236
Copy link
Owner

jpd236 commented Oct 29, 2024

Added in CrosswordScraper 1.3.18 (available now for Firefox, pending approval for Chrome).

This only handles simple puzzles as that's all I could find from a quick search. If there are any puzzles with extra features (e.g. circled letters, non-standard numbering, rebus) then it would be great to see an example.

Note that their applet does include markers for hyphenation and stronger bars for word boundaries. But given that the enumerations are given in the clues, this feels more like an app-specific feature than something to encode in the file itself, and the hyphens wouldn't be supported easily in any format anyway.

@jpd236 jpd236 closed this as completed Oct 29, 2024
@saweyer
Copy link
Author

saweyer commented Oct 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants