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
This prints the correct exception message and avoids user confusion, as in the case of the closed issue about 404 errors for sites that exist, which can be due to other errors, such as an SSL certificate issue.
The text was updated successfully, but these errors were encountered:
In crawler.py, there's this code:
However, 404 is not the only possible exception that can occur with urllib.request.urlopen().
Solution:
This prints the correct exception message and avoids user confusion, as in the case of the closed issue about 404 errors for sites that exist, which can be due to other errors, such as an SSL certificate issue.
The text was updated successfully, but these errors were encountered: