url_utils
URL detection, content fetching, and metadata caching utilities.
- class url_utils.URLMetadataCache(ttl=None)[source]
Bases:
objectIn-memory TTL cache for URL metadata (default 24 h).
- Parameters:
ttl (int | None)
- DEFAULT_TTL = 86400
URL detection, content fetching, and metadata caching utilities.
Bases: object
In-memory TTL cache for URL metadata (default 24 h).
ttl (int | None)