Hide My Ass! /2 fetches lots of proxies to allow everyone to surf privately from anywhere.
-
Around 3.200 proxies
-
Fetched in real time within 2.5 sec
-
Sortable by speed, country, anonymity and many more
Add this line to your application's Gemfile:
gem 'hidemyass2'
gem 'nokogiri' # To get the full proxy list (optional)
And then execute:
$ bundle
Or install it yourself as:
$ gem install hidemyass2
From terminal execute:
$ bundle exec hidemyass
https://188.166.233.171:8080
http://187.85.207.47:3128
http://201.22.213.7:8080
https://103.253.146.197:8080
https://139.59.226.223:8080
socks4://80.255.139.145:1080
socks5://5.135.151.28:60088
...
For Ruby run:
require 'hidemyass'
HideMyAss.proxies { |p| p.country == 'germany' && p.https? }
#<HideMyAss::ProxyList:0x00000000000000 @proxies=[...]>
HideMyAss.proxies!.first
#<HideMyAss::Proxy:0x00000000000000 https://103.253.146.197:8080>
Refer to the Proxy class for more advanced usage and a complete list of properties like speed
, ip
, ssl?
, anonym?
or secure?
.
Tip: Use proxies!
to fetch the proxies just one time.
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/appplant/hidemyass2.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
The gem is available as open source under the terms of the MIT License.
Made with 😋 from Leipzig
© 2016 appPlant GmbH