Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 530 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 530 Bytes

Proxymate

Installation

gem install proxymate

Usage

Format for proxy_list.txt:

127.0.0.1:8080
127.0.0.1:8081
require 'proxylinker'

proxy_list = Proxylinker::ProxyList.new('path/to/proxy_list.txt')

proxy = proxy_list.get_random_proxy

if proxy
  puts "Bruger proxy: #{proxy.addr}:#{proxy.port}"
else
  puts "Ingen fungerende proxy fundet."
end

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct