for i in range(len(matches)):
url = matches[i]
try:
webpage = urllib.request.urlopen(url, timeout=15)
except (urllib.error.HTTPError, urllib.error.URLError,
for i in range(len(matches)):
url = matches[i]
try:
webpage = urllib.request.urlopen(url, timeout=15)
except (urllib.error.HTTPError, urllib.error.URLError,