requests.exceptions.ConnectionError: HTTPConnectionPool(host='www2.fdic.gov', port=80): Max retries exceeded with url: /IDASP/Institutions2.zip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000000000588F348>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
I am getting this error with your code:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='www2.fdic.gov', port=80): Max retries exceeded with url: /IDASP/Institutions2.zip (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000000000588F348>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))
Any idea how to fix it?