Skip to content

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

@DopeforHope

Description

@DopeforHope

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',))
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions