Project

driller

0.01
No commit activity in last 3 years
No release in over 3 years
Driller is a command line Ruby based web crawler based on Anemone. Driller can crawl website and reports error pages and slow pages and generates HTML reports.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.0
>= 0
 Project Readme

Driller

Driller is a command line Ruby based web crawler based on Anemone. Driller can

  • Crawl website and reports error pages which are not 200 or 301. This will report all other HTTP codes.
  • Driller will report slow pages which are returned response time > 5000
  • This will create three HTML files valid_urls.html which are 200 response. broken.html wich are not 200. slow_pages.html which are retuned reaponse time > 5000

Installation

Add this line to your application's Gemfile:

gem 'driller'

And then execute:

$ bundle

Or install it yourself as:

$ gem install driller

Usage

Driller takes two arguments

  • URL of the page to be crawled

  • Depth of the crawling

  • Proxy Hostname (optional) [default: nil]

  • Proxy Port (optional) [default: 80]

      $ driller <webpage> <depth> [<proxy_host>] [<proxy_port>]
      $ driller http://www.example.com 2
      $ driller http://www.example.com 2 'www-proxy.domain.co.uk' 80
    

If you have installed it from bundle the

       $ bundle exec driller  http://www.example.com 2

This will crawl website upto level 2. You can increase depth as per your need. This will create three HTML files valid_urls.html which are 200 response. broken.html wich are not 200. slow_pages.html which are retuned reaponse time > 5000

You an display these html files to CI server.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/driller/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request