added checking if parsed url is an image or a website