Is there anything that works like this? checkLink(url): # If url exists, return 1 # If url does not exist, return 0 All I want to do is check the external links in a html file and log if they exist or not. Unfortunately, I am not skilled enough to write something myself. Thanks!