requests.get() won't raise an exception if it gets a response from the web server, even if it's an error (e.g. 404). We might want to call req.raise_for_status()  which will raise an exception if it didn't get a 200 back.