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

404 as of today? #1

Closed
christianreiss opened this issue Sep 16, 2019 · 1 comment
Closed

404 as of today? #1

christianreiss opened this issue Sep 16, 2019 · 1 comment

Comments

@christianreiss
Copy link

Hey,

loving this script; running it everywhere. As of today (?) The download fails:

biest:~/bin/wallcatd> python3.7 wallcatd.py
Traceback (most recent call last):
  File "wallcatd.py", line 74, in <module>
    downloadpotd(today[0],today[2])
  File "wallcatd.py", line 29, in downloadpotd
    with urllib.request.urlopen(image) as response, open(path, 'wb') as out_file:
  File "/usr/lib64/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib64/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib64/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib64/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Could you update the sources to fix the url again? Thanks! :)

@christianreiss
Copy link
Author

For some odd reason I can't replicate the error again; seems to be working. Oh well.

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

1 participant