MetaInspector
Ruby gem for web scraping purposes. It scrapes a given URL, and returns you a hash with data from it like for example the title, meta description, meta keywords, an array with all the links, all the images in it, etc.
How to install it
MetaInspector is hosted at GitHub so you just need to do this to install it:
gem sources -a http://gems.github.com sudo gem install jaimeiniesta-metainspector
How to use it
Here's a little example. You just need to tell MetaInspector what URL to scrape and then it will visit it, grab its contents and return you a hash with some metadata from it:
require 'metainspector'
data = MetaInspector.scrape('http://www.google.com')
puts data['title']
puts data['description']
puts data['keywords']
puts data['links'].size