oembedpy.discovery module

Discovery module.

This provides features to find oEmbed provider of contents.

oembedpy.discovery.find_from_content(url: str) Tuple[str, RequestParameters]

Fetch html content and pick api URL.

Params url:

Target URL.

oembedpy.discovery.find_from_registry(url: str, registry: ProviderRegistry) Tuple[str, RequestParameters]

Find endpoint matched for content from registry.