Skip to content

Max-lindberg/Proxylinker-gem

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published