def embed(self, url, max_width=None, max_height=None):
        try:
            oembed_urls = self.discoverer.get_oembed_urls(url)
            response = consumer.get_first_oembed_response(
                oembed_urls, max_width=max_width, max_height=max_height)
        except requests.exceptions.RequestException as e:
            raise PyEmbedError(e)

        return self.renderer.render(url, response)
Returns an HTML representation of a resource, given a URL.  This
dataset/ETHPy150Open pyembed/pyembed/pyembed/core/__init__.py/PyEmbed.embed