I am trying to download one dataset from UCI ML repository in Python. Here is my code:
import requests
zip_url = 'http://archive.ics.uci.edu/ml/machine-learning-databases/00228/smsspamcollection.zip'
r = requests.get(zip_url)
But, after running the code I get the following error. What is the reason and how to resolve it?
ConnectionError: HTTPConnectionPool(host='archive.ics.uci.edu', port=80): Max retries exceeded with url: /ml/machine-learning-databases/00228/smsspamcollection.zip (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x11a3c15c0>: Failed to establish a new connection: [Errno 53] Software caused connection abort',))