shortyz icon indicating copy to clipboard operation
shortyz copied to clipboard

Add AmuseLabs/PuzzleMe crosswords

Open jbbdude opened this issue 4 years ago • 1 comments

A number of online properties, including The Atlantic, NY Mag, The Daily Beast, and Vox now offer free crossword puzzles hosted with AmuseLabs/PuzzleMe. (Vice seems to have stopped in 2018 but the archives are still up) It would be great to be able to access these crosswords from within Shortyz.

The crosswords themselves are hosted in the same way, i.e.:

  • https://cdn3.amuselabs.com/atlantic/crossword?id=atlantic_20210727&set=atlantic
  • https://cdn3.amuselabs.com/nymag/crossword?id=cda899be&set=nymag
  • https://cdn3.amuselabs.com/tdb/crossword?id=011184ac&set=tdb
  • https://cdn3.amuselabs.com/vice/crossword?id=251f8d69&set=vice
  • https://cdn3.amuselabs.com/vox/crossword?id=WNvox_20210701_1000&set=vox

They use the same selectors, i.e.:

  • https://cdn3.amuselabs.com/atlantic/date-picker?set=atlantic&limit=100 or https://cdn3.amuselabs.com/atlantic/calendar-picker?set=atlantic
  • https://cdn3.amuselabs.com/nymag/date-picker?set=nymag&limit=100 or https://cdn3.amuselabs.com/nymag/calendar-picker?set=nymag
  • https://cdn3.amuselabs.com/tdb/date-picker?set=tdb&limit=100 or https://cdn3.amuselabs.com/tdb/calendar-picker?set=tdb
  • https://cdn3.amuselabs.com/vice/date-picker?set=vice&limit=100 or https://cdn3.amuselabs.com/vice/calendar-picker?set=vice&year=2018&month=7
  • https://cdn3.amuselabs.com/vox/date-picker?set=vox&limit=100 or https://cdn3.amuselabs.com/vox/calendar-picker?set=vox

These could be used to relate a puzzle ID to a date.

I haven't figured out how to extract a .puz from the AmuseLabs pages, but once some way is figured out, it can be applied to multiple services. (Even more services can be found by searching [site:cdn3.amuselabs.com])

EDIT: Figuring out how to scrape AmuseLabs would also resolve the LA Times issue with the old source.

jbbdude avatar Jul 27 '21 04:07 jbbdude

I have added required code and submitted a PR. Please see this https://github.com/kebernet/shortyz/issues/174#issuecomment-1049909725

jdesai61 avatar Feb 24 '22 14:02 jdesai61