Skip to content

Handle Exceptions #17

@asiffarhankhan

Description

@asiffarhankhan

The program returns lines of errors when websites that aren't supported by newspaper library is entered as news_url

AttributeError is thrown when websites like 'google.com' are entered in the url. Its better we give a more reasonable error to the user by placing that code inside a try except block

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions