kaggle kernels: urllib.request.urlopen not working for any url
问题 What is the best way to handle fetching of list of urls in kaggle kernels ? I tried first testing with google.com . First Method : Using urllib.request import urllib.request resp = urllib.request.urlopen('http://www.google.com') This lead to error of gai and urlopen error [Errno -2] Name or service not known Second Method : Using requests import requests resp = requests.get('http://www.google.com') This lead to error gaierror: [Errno -3] Temporary failure in name resolution and Failed to