pip install micawber
python
from micawber import ProviderRegistry, bootstrap_basic
provider_registry = ProviderRegistry()
bootstrap_basic(provider_registry)
python
from micawber.cache import Cache
cache = Cache()
url = "https://example.com"
embed_code = provider_registry.request(url, cache=cache).html
print(embed_code)