skip to navigation
skip to content

w3lib 1.13.0

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.13.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2015-11-05 14KB
w3lib-1.13.0.tar.gz (md5) Source 2015-11-05 35KB
  • Downloads (All Versions):
  • 2437 downloads in the last day
  • 19105 downloads in the last week
  • 63866 downloads in the last month