Expand description
HTML processing module
This module provides functions for fetching, parsing, and processing HTML content.
Functions§
- convert_
relative_ urls - Convert relative URLs to absolute URLs in HTML content
- convert_
to_ utf8 - Convert HTML content to UTF-8 encoding
- decode_
html_ entities - Decode HTML entities to unicode characters.
- fetch_
html - Fetch HTML content from a URL
- has_
javascript - Check if HTML content contains JavaScript
- is_html
- Check if content is valid HTML
- normalize_
url - Normalize URL to ensure it’s absolute.
- pretty_
print_ html - Pretty-print HTML with indentation.