Sha256: 6a3acb701d6e62776c15739c6e6dc9562dbbe32a831dd68451c02dc32562225f
Contents?: true
Size: 752 Bytes
Versions: 13
Compression:
Stored size: 752 Bytes
Contents
# It will be completely rewritten in dawnscanner v2.0.0 # # require 'anemone' # require 'httpclient' # h=HTTPClient.new() # Anemone.crawl(ARGV[0]) do |anemone| # anemone.on_every_page do |page| # response = h.get(page.url) # puts "Original: #{page.url}: #{response.code}" # response = h.get(page.url.to_s.split(";")[0].concat(".bak")) # puts "BAK: #{page.url.to_s.split(";")[0].concat(".bak")}: #{response.code}" # response = h.get(page.url.to_s.split(";")[0].concat(".old")) # puts "OLD: #{page.url.to_s.split(";")[0].concat(".old")}: #{response.code}" # response = h.get(page.url.to_s.split(";")[0].concat("~")) # puts "~: #{page.url.to_s.split(";")[0].concat("~")}: #{response.code}" # end # end
Version data entries
13 entries across 13 versions & 1 rubygems