Markdown extension to allow media embedding using the oEmbed standard.
pip install python-markdown-oembed
>>> import markdown
>>> md = markdown.Markdown(extensions=['oembed'])
>>> md.convert('')
u'<iframe width="459" height="344" src="proxy.php?url=http%3A%2F%2Fwww.youtube.com%2Fembed%2Fzqnh_YJBvOI%3Ffs%3D1%26amp%3Bfeature%3Doembed" frameborder="0" allowfullscreen></iframe>'
A Public Domain work. Do as you wish.