This is a simple e-mail scraper for URIs. It comes with a command-line tool 'scrape' to hunt down e-mails.
Install the gem
gem install scraper
For Scraper class, see rdoc and unit tests.
Command line tool
$ scrape http://www.ihaveemailstoscrape.org => email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org
This gets all the e-mails from this uri, then goes to all the outbound uris on the page and scrapes each page for e-mails. Then it prints out the unique addresses it found from this process.
Copyright© 2012 Shannon E. Wells, under Creative Commons Attribution-ShareAlike 3.0 Unported License (creativecommons.org/licenses/by-sa/3.0/).