Source code: Lib/urllib/
urllib is a package that collects several modules for working with URLs:
urllib.request for opening and reading URLsurllib.error containing the exceptions raised by urllib.request
urllib.parse for parsing URLsurllib.robotparser for parsing robots.txt files
© 2001–2023 Python Software Foundation
Licensed under the PSF License.
https://docs.python.org/3.12/library/urllib.html