WebMole
WebMole is a powerful web scraping tool built in Ruby. It allows you to crawl websites and extract various types of information such as emails, phone numbers, URLs, social media handles, addresses, and more.
Installation
Add this line to your application's Gemfile:
gem 'webmole'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install webmole
Usage
To use WebMole, run the following command:
webmole -u https://example.com -s emails -d 2
This will crawl https://example.com to a depth of 2 and extract all email addresses found.
For more options, run:
webmole --help
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/yourusername/webmole.
License
The gem is available as open source under the terms of the MIT License.