urllib库的学习
2018-08-16 本文已影响0人
ozil_oo
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