Skip to content
very simple e-mail scraper in Ruby
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
test
.gitignore
README.rdoc
Rakefile
scraper.gemspec

README.rdoc

scraper

This is a simple e-mail scraper for URIs. It comes with a command-line tool 'scrape' to hunt down e-mails.

Installation

Install the gem

gem install scraper

Usage

For Scraper class, see rdoc and unit tests.

Command line tool

$ scrape http://www.ihaveemailstoscrape.org
=> someguy@someplace.net, user@domain.org, open@sezme.com, bigbear@furrierandives.net

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

Copyright© 2012 Shannon E. Wells, under Creative Commons Attribution-ShareAlike 3.0 Unported License (creativecommons.org/licenses/by-sa/3.0/).

Something went wrong with that request. Please try again.