blob: 5a0a1fca1d1aaf96f5a75f5649fdc25af6989c08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
- encoding mulitpart/form-data
- convert raw HTTP headers to dicts and vice-versa
- construct HTTP auth header
- converting HTML pages to unicode
- RFC-compliant url joining
- sanitize urls (like browsers do)
- extract arguments from urls
|