Closed bachand closed 7 years ago
I tried out a slightly modified version of the example provided:
require 'wombat' class HeadersScraper include Wombat::Crawler base_url "http://www.rubygems.org" path "/" set_proxy("localhost", 8888) end
I get this error:
/Users/michael/.rvm/gems/ruby-2.3.1/gems/wombat-2.5.1/lib/wombat/property/locators/factory.rb:34:in `locator_for': Unknown property format 8888. (Wombat::Property::Locators::UnknownTypeException)
Here's my setup:
Moving this to the configure block is a workaround:
configure
Wombat.configure do |config| config.set_proxy("localhost", 8888) end
Hi there @bachand 😄 I've updated the wiki doc to reflect this. It was indeed wrong. Thanks!
I tried out a slightly modified version of the example provided:
I get this error:
Here's my setup:
Moving this to the
configure
block is a workaround: