urllib库的学习

urllib是一个用来处理URL包含多个模块的包:

  • 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

你可能感兴趣的:(urllib库的学习)