Skip to main content
https://secure.travis-ci.org/scrapy/w3lib.png?branch=master Coverage report

Overview

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

Requirements

Python 2.7 or Python 3.3+

Install

pip install w3lib

Documentation

See http://w3lib.readthedocs.org/

License

The w3lib library is licensed under the BSD license.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

w3lib-1.13.0.tar.gz (36.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

w3lib-1.13.0-py2.py3-none-any.whl (14.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file w3lib-1.13.0.tar.gz.

File metadata

  • Download URL: w3lib-1.13.0.tar.gz
  • Upload date:
  • Size: 36.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for w3lib-1.13.0.tar.gz
Algorithm Hash digest
SHA256 72739cb480413a1d2cf176942986a2b9113411166ac81f2551e5f5eecc383a84
MD5 655b3bb943d6dd61fff30ce05bca22af
BLAKE2b-256 e6d3be822d1df0c59bb92699f9247f81f6151102c622fbccd700fa245924a8ca

See more details on using hashes here.

File details

Details for the file w3lib-1.13.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for w3lib-1.13.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 28973015f60c490d4f80e5ebc513be8d2b6642ec532b2e75165090155f820067
MD5 ecb75768448799ccb47719d73a0f82d2
BLAKE2b-256 9e19638cabeee5d527223c9517ecdc834e5092b130a1dc3dc379514df125bc4f

See more details on using hashes here.

Release history Release notifications | RSS feed

2.4.1

2 files

2.4.0

2 files

2.3.1

2 files

2.3.0

2 files

2.2.1

2 files

2.2.0

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.22.0

2 files

1.21.0

2 files

1.20.0

2 files

1.19.0

2 files

1.18.0

2 files

1.17.0

2 files

1.16.0

2 files

1.15.0

2 files

1.14.3

2 files

1.14.2

2 files

1.14.1

2 files

1.14.0

2 files

This release

1.13.0 This release

2 files

1.12.0

2 files

1.11.0

2 files

1.10.0

2 files

1.9.0

2 files

1.8.1

2 files

1.8.0

2 files

1.7.1

2 files

1.7.0

2 files

1.6

1 file

1.5

1 file

1.4

1 file

1.3

1 file

1.2

1 file

1.1

1 file

1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page