Open harshraj22 opened 4 years ago
If website is not reachable, requests.get(url) returns with different status code. In this code, this case is handled by returning 404 user not found error.
requests.get(url)
404 user not found
The error message can be improved depending on status code.
Yes, do your changes and pull the requests. I will merge them.
If website is not reachable,
requests.get(url)
returns with different status code. In this code, this case is handled by returning404 user not found
error.The error message can be improved depending on status code.