Fork of code from ScraperWiki at https://classic.scraperwiki.com/scrapers/ruby-mechanize/