Sha256: 54bb9d371db04c636c84f62218787cd404f9e6f9be43d2d5d96253ad18b492a7
Contents?: true
Size: 262 Bytes
Versions: 2
Compression:
Stored size: 262 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH << File.join(Dir.getwd, 'lib') require 'uri' require 'json' require 'spidermech' raise ArgumentError, 'You must provide a url to crawl.' unless !ARGV.empty? url = ARGV[0] spider = SpiderMech.new url spider.run spider.save_json
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spidermech-0.0.2 | bin/spidermech |
spidermech-0.0.1 | bin/spidermech |