skip to navigation
skip to content

w3lib 1.14.2

Library of web-related functions


This is a Python library of web-related functions, such as:

  • remove comments, or tags from HTML snippets
  • extract base url from HTML snippets
  • translate entites on HTML strings
  • convert raw HTTP headers to dicts and vice-versa
  • construct HTTP auth header
  • converting HTML pages to unicode
  • sanitize urls (like browsers do)
  • extract arguments from urls


Python 2.7 or Python 3.3+


pip install w3lib




The w3lib library is licensed under the BSD license.

File Type Py Version Uploaded on Size
w3lib-1.14.2-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2016-04-11 15KB
w3lib-1.14.2.tar.gz (md5) Source 2016-04-11 40KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 434 downloads in the last week
  • 30316 downloads in the last month