PageMunch - Link Unfurling
PageMunch is a simple API backed by an intelligent web crawler that lets you extract rich previews, entities and images from any url. Whether you want to grab the best title, description and image for a page, prices, authorship, enable video embeds or more.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install pagemunch
We recommend storing your API key in an environment variable, for security and to enable using different keys in your staging, development and production environments.
Pagemunch.key = ENV.fetch('PAGEMUNCH_API_KEY') response = Pagemunch.extract 'http://www.youtube.com/watch?v=9bZkp7q19f0' puts response.body.inspect
For more information, libraries and documentation check out the PageMunch Documentation