module ProxySeeker

Constants

DEFAULTS

Public Instance Methods

fetch_proxies(opts = {}) click to toggle source
# File lib/proxy_seeker.rb, line 21
def fetch_proxies(opts = {})
  fetcher = ProxySeeker::Fetcher.new(opts)
  fetcher.execute
end
find(opts = {}) click to toggle source
# File lib/proxy_seeker.rb, line 14
def find(opts = {})
  opts = DEFAULTS.merge(opts)
  proxies = fetch_proxies(opts)
  proxies = test_proxies(proxies, opts)
  proxies
end
test_proxies(proxies, opts = {}) click to toggle source
# File lib/proxy_seeker.rb, line 26
def test_proxies(proxies, opts = {})
  tester = ProxySeeker::Tester::new(proxies, opts)
  tester.execute
end