Skip to content

Commit

Permalink
Merge pull request #98 from thisisparker/dev
Browse files Browse the repository at this point in the history
* Fix AmuseLabs downloads (closing #97)
  • Loading branch information
thisisparker authored Jan 31, 2023
2 parents a7a6092 + 46ad630 commit f926a73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion xword_dl/downloader/amuselabsdownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ def find_solver(self, url):
def fetch_data(self, solver_url):
res = requests.get(solver_url)
rawc = next((line.strip() for line in res.text.splitlines()
if 'window.rawc' in line), None)
if ('window.rawc' in line
or 'window.puzzleEnv.rawc' in line)), None)

if not rawc:
raise XWordDLException("Crossword puzzle not found.")
Expand Down
2 changes: 1 addition & 1 deletion xword_dl/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023.1.25
2023.1.31

0 comments on commit f926a73

Please sign in to comment.