urllib
是一个用来处理URL包含多个模块的包:
-
urllib.request
for opening and reading URLs -
urllib.error
containing the exceptions raised byurllib.request
-
urllib.parse
for parsing URLs -
urllib.robotparser
for parsingrobots.txt
files
urllib
是一个用来处理URL包含多个模块的包:
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