Python – how to create URL extractor like facebook share

facebookPHPpython

i need to extract data from url
like title , description ,and any vedios images in the given url
like facebook share button

like this :
http://www.facebook.com/sharer.php?u=http://www.wired.com&t=Test

regards

Best Answer

Embed.ly has a nice api for exactly this purpose. Their api returns the site's oEmbed data if available - otherwise, it attempts to extract a summary of the page like Facebook.