Skip to content

Instantly share code, notes, and snippets.

@itamarst
Last active August 29, 2015 14:07
Show Gist options
  • Save itamarst/3343845de05a1e3a93fb to your computer and use it in GitHub Desktop.
Save itamarst/3343845de05a1e3a93fb to your computer and use it in GitHub Desktop.
Output of linkcheck.py
[ /#0 3fba6baf-8125-4f7c-8c1b-8f687d8a22d3 17:05:44.321218Z
action_type: "check_links"
action_status: "started"
url: "http://example.com"
[ /1/#0 3fba6baf-8125-4f7c-8c1b-8f687d8a22d3 17:05:44.321330Z
action_type: "download"
action_status: "started"
url: "http://example.com"
✓] /1/#1 3fba6baf-8125-4f7c-8c1b-8f687d8a22d3 17:05:44.482590Z
action_type: "download"
action_status: "succeeded"
final_url: "http://example.com/"
[ /2/#0 3fba6baf-8125-4f7c-8c1b-8f687d8a22d3 17:05:44.485778Z
action_type: "download"
action_status: "started"
url: "http://www.iana.org/domains/example"
✓] /2/#1 3fba6baf-8125-4f7c-8c1b-8f687d8a22d3 17:05:44.822340Z
action_type: "download"
action_status: "succeeded"
final_url: "http://www.iana.org/domains/reserved"
✓] /#1 3fba6baf-8125-4f7c-8c1b-8f687d8a22d3 17:05:44.822729Z
action_type: "check_links"
action_status: "succeeded"
-----------------
Example of a failed action:
[ /4/#0 3aa9af73-3045-4710-a61a-8867574f3011 17:12:49.379140Z
action_type: "download"
action_status: "started"
url: "http://isometric.sixsided.org"
✗] /4/#1 3aa9af73-3045-4710-a61a-8867574f3011 17:12:49.504518Z
action_type: "download"
action_status: "failed"
exception: "requests.exceptions.ConnectionError"
reason: "HTTPConnectionPool(host='isometric.sixsided.org', port=80): Max retries exceeded with url: / (Caused by <class 'socket.gaierror'>: [Errno -2] Name or service not known)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment