Skip to main content

Get a proxy server IP on the fly!

Project description



random_proxies

Python package to generate a random proxy on the fly!

Features

  • Supports HTTP, HTTPS or SOCKS proxy.

Currently support SOCKS over HTTP only with version 4.

  • Fetch specific country proxy by using country name or country code.
  • Fetch elite / transparent / anonymous proxies respectively.
  • Fetch directly from free-proxy-list.
  • For better response time, fetch from an elasticsearch cache_server.
  • cache_server is updated via routines described here

Example usage

  $ git clone https://github.com/2knal/random_proxies.git`
  $ cd random_proxies/ 
  $ pip install -r requirements.txt 

Open python interpreter. (Supports version 3.7+)

>>> from random_proxies import random_proxy
>>> random_proxy()
'23.101.2.247:81'

Refer more examples here

TODO

  • <input type="checkbox" checked="" disabled="" /> Port to MongoDB
  • <input type="checkbox" disabled="" /> Publish package version 0.0.1
  • <input type="checkbox" disabled="" /> Return meta data, response structure found here
  • <input type="checkbox" disabled="" /> Scrape proxies from other sources
  • <input type="checkbox" disabled="" /> Add support for SOCKS version 5
  • <input type="checkbox" disabled="" /> Implement REST API to allow other languages to interface with it
  • <input type="checkbox" disabled="" /> Setup documentation page
  • <input type="checkbox" disabled="" /> Add unit tests

Contributing

  • We are open to enhancements & bug-fixes 😊. Take a look here to get started
  • Feel free to add issues and submit patches

Author

Kunal Sonawane - 2knal


License

This project is licensed under the MIT - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for random-proxies, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size random_proxies-0.0.2-py3-none-any.whl (12.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size random_proxies-0.0.2.tar.gz (8.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page