While scanning bunch of websites using the below function I received an error (see below). Would there be any except step I could add to the function below to p
except