Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 861 Bytes

urllib.rst

File metadata and controls

24 lines (15 loc) · 861 Bytes

xoutil.eight.urllib - Compatibility to Python's urllib module

xoutil.eight.urllib

1.8.4

urllib is maybe the hardest module to use from Python 2/3 compatible code. You may like to use Requests instead. In this implementation is used the module structure in Python 3 but only the functions that are already in both versions of Python are exposed for sure.

urllib is a package that collects several modules for working with URLs, in xoutil these structures are exposed inner xoutil.eight.urllib:

  • request for opening and reading URLs.
  • error` containing the exceptions raised byrequest``
  • parse for parsing URLs.
  • robotparser for parsing robots.txt files