python
pip install micawber
python
import micawber
providers = micawber.bootstrap_basic()
providers.register("youtube", micawber.parsers.oembed("https://www.youtube.com/oembed"))
oembed_providers = micawber.ProviderRegistry()
oembed_providers.register("youtube", micawber.parsers.oembed("https://www.youtube.com/oembed"))
micawber.load_providers_from_registry(oembed_providers)
python
oembed_data = micawber.parse_html(html)
for provider_name, url, params in oembed_data: