Added more straightforward HTML parse for 503 and 504 errors.