urllib2 – Library for opening URLs. - Python Module of the Week
pymotw.com › 2 › urllib2Jul 11, 2020 · A library for opening URLs that can be extended by defining custom protocol handlers. The urllib2 module provides an updated API for using internet resources identified by URLs. It is designed to be extended by individual applications to support new protocols or add variations to existing protocols (such as handling HTTP basic authentication).