thisisparker / xword-dl

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

Fix Guardian puzzle downloader #191

Closed afontenot closed 3 weeks ago

afontenot commented 3 weeks ago

The attribute previously used to find puzzle links changed. Rather than update it to a new one, take the first link in the page matching the puzzle URL format, as this should be more reliable.

Fixes #190.

thisisparker commented 3 weeks ago

Hey thank you! I actually didn't notice you'd opened this and had just written a worse solution. Happy to have your better one here instead :)

Ignore the failing tests, I haven't figured out a good way to have it check different outlets separately each time.