urllib
— URL handling modules¶
Source code: 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 byurllib.request
urllib.parse
for parsing URLsurllib.robotparser
for parsingrobots.txt
files