You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
We could, for now, simply catch the exception. Since the fake news detector is going to have more modules and functions and a separate mainframe, it might be best to make our own exceptions at the end.
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
The text was updated successfully, but these errors were encountered: