Skip to content

Max-lindberg/Proxylinker-gem

Repository files navigation

Proxylinker

Installation

gem install proxylinker

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 "Using proxy: #{proxy.addr}:#{proxy.port}"
else
  puts "No proxy found"
end

License

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published