webpage2html icon indicating copy to clipboard operation
webpage2html copied to clipboard

[Feature Request] Return error code when url is not valid

Open DopeforHope opened this issue 6 years ago • 1 comments

The following command doesn't exit with an error code.

> python3 webpage2html.py --errorpage -s https://www.wivfwfekipedia.org 
[ WARN ] ??? - https://www.wivfwfekipedia.org HTTPSConnectionPool(host='www.wivfwfekipedia.org', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f60a48fbba8>: Failed to establish a new connection: [Errno -2] Name or service not known',))
>

DopeforHope avatar Jan 25 '20 21:01 DopeforHope

Seems to be a network connectivity issue? Name or service not known probably indicates that DNS is not working as expected.

zTrix avatar Feb 02 '20 09:02 zTrix