Tiny Library for get random proxy (free).
Tiny and Powerful Library for get random proxy (free).
httparty
, json
If the API address has changed , This repository will be updated.
use the new version.
gem install RandomProxy
gem install json
gem install httparty
To view the full details, run the Example.rb file.
RandomProxy.get()
require 'RandomProxy'
proxy=RandomProxy.get()
if proxy["error"] && proxy["error"] == false then
puts proxy["ip"]
else
puts "Error!"
end
RandomProxy is licensed under the GNU General Public License.