- webpage = urllib.request.urlopen(url, timeout=15)
- content_type = webpage.info().get_content_type()
+ try:
+ webpage = urllib.request.urlopen(url, timeout=15)
+ except urllib.error.HTTPError as error:
+ print("TROUBLE FOLLOWING URL: " + str(error))
+ continue