crtndstry
crtndstry copied to clipboard
fails to recognize 404 errors from digicert
The output in digicert.json should be json, but for reasons unknown, I occasionally get a 404 even when querying the exact same data:
daniel@lasercane ~/crtndstry/rawdata
% cat digicert.json
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Error: Page Not Found</title>
</head>
<body>
<P>Error: Page Not Found</P>
</body>
</html>%
This causes the script to not live up to its full potential in the cases where retrieving this dataset fails.