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

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

Open
DopeforHope opened this issue Jan 25, 2020 · 1 comment
Open

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

DopeforHope opened this issue Jan 25, 2020 · 1 comment

Comments

@DopeforHope
Copy link

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',))
>
@zTrix
Copy link
Owner

zTrix commented Feb 2, 2020

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

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

2 participants