Skip to main content

Get Free working proxies around the world.

Project description

Open Proxy

Installation

To install the OpenProxy on your system, Open your terminal and run the following command.

$ python -m pip install open_proxy

Source

The main source for this project is free proxy servers around the world. I am using https://proxyscrape.com API to get free proxies from different locations in the world.

Using Open Proxy

from open_proxy import open_proxy

# Create a new instance of the class OpenProxy
openProxy = open_proxy.OpenProxy()

# Calling the proxies_random() function to get random proxies
# from all around the world.
openProxy.proxies_random()

Output

/usr/bin/python3.8 /home/tksanthosh/Desktop/open_proxy/src/open_proxy/open_proxy.py 
35.230.42.148:3128
123.159.127.74:8085
24.199.82.12:80
178.33.3.163:8080
46.47.197.210:3128
192.248.125.3:80
103.241.182.97:80
124.90.14.209:8085
152.32.202.108:80
61.158.175.38:9002
222.139.221.185:9091
185.105.102.179:80
47.109.36.177:80
138.68.60.8:3128
...

Methods

>>> proxies_random() -> None

By default, this function will filter working proxies from all around the world. This uses all protocols such as http, socks4, socks5 and uses all level of anonymity like transparent, elite and anonymous.

>>> proxies_country(country: str) -> None

This will filter working proxies from the specified country. The country parameter should be the ISO 3166 Alpha 2 country codes country codes. The other parameters are set to all means uses all protocols and anonymity levels.

>>> proxies_protocol(protocol: str) -> None

This will filter working proxies from the specified protocol. Supported protocols are http, socks4, socks5. The other parameters are set to all.

>>> proxies_anonymity(anonymity_level: str) -> None

This will filter working proxies from the specified anonymity_level. The supported anonymity levels are transparent, elite and anonymous. The other parameters are set to all.

>>> proxies_custom(country: str, protocol: str, anonymity_level: str) -> None
NOTE : Sometime using this proxies_custom method doesn't give you any result.

WHY open_proxy OVER FREE API ?

If you use free API most of the proxies are dead so in our open_proxy all the proxies are tested using http://ipinfo.io/json before showing the result to the users.

Project details


Download files

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

Source Distribution

open_proxy-0.0.1.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_proxy-0.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file open_proxy-0.0.1.tar.gz.

File metadata

  • Download URL: open_proxy-0.0.1.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for open_proxy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 11d63c5fee95d242bb18f08d4d43f074a053f8da454d1cf3bdde4458f33e40d6
MD5 8f1d2da0b1d0133c54a8f4882e0cb11e
BLAKE2b-256 ff11a3bb6bf846f2cc791cc6bb217728469be2e19ff33e38059cab26a4b251f8

See more details on using hashes here.

File details

Details for the file open_proxy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: open_proxy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for open_proxy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bbf702179e4a2d1e5937b6cd2dd0ffd53e005e15955092be875091cce9ab390
MD5 ccb7c05a5052e0b29814e9a803c351be
BLAKE2b-256 f07080e6e1dd1e2e97821aef2f2b45dd6be536e3363b4212f4929d69c644b11f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page