Expand description
URL and link processing utilities.
Available with the url feature flag.
Functionsยง
- filter
- Filter links based on predicate.
- get_
domain - Extract domain from URL.
- is_
absolute - Check if URL is absolute (has scheme).
- is_
valid_ url - Check if URL is valid (has scheme and host).
- make_
absolute - Make all relative URLs in document absolute.
- normalize_
url - Normalize URL (remove fragments, trailing slashes).
- resolve
- Resolve relative URL against base.
- strip_
all - Remove all links (keep text content).
- urls_
match - Check if two URLs point to same resource.