workaround to use the cli downloader
Here is a workaround to use the cli downloader. Thanks, Gaming32.
Source: https://github.com/pyweekorg/cli/issues/2#issuecomment-813123489
1. Edit site-libraries/pyweek.py.
2. Comment and insert:
# resp = sess.get(f'{PYWEEK_URL}/{challenge}/downloads.json')
# resp.raise_for_status()
# downloads = resp.json()
with open('downloads.json') as f:
downloads = json.load(f)
3. Download: https://pyweek.org/31/downloads.json to the download directory.
4. In console, cd to the download directory.
5. Run: pyweek download 31