urllib — URL handling modules — Python documentation
From Get docs
Python/docs/3.10/library/urllib
urllib — URL handling modules
Source code: :source:`Lib/urllib/`
urllib
is a package that collects several modules for working with URLs:
- urllib.request for opening and reading URLs
- urllib.error containing the exceptions raised by urllib.request
- urllib.parse for parsing URLs
- urllib.robotparser for parsing
robots.txt
files