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 https://api.github.com/events 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.2.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.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: open_proxy-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 860b40245aba68c7b6e2408f307f08105c0c410c9115e54d1c20df39dd632079
MD5 8495915e5407e03081dc24b4a1b89c5c
BLAKE2b-256 94ba4ec54a7acd9a496bbdd76d0f96230f1862e1f3af88699e1d56c2a3e122f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: open_proxy-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff69419312a99562bc6404bd9152665a182b41fe1e68f93c419aca05ab4bb9ae
MD5 58db44e37fdc78f415a21beb42b0eeb6
BLAKE2b-256 b9c5d058db850156886db1d811d1122229349788cd95327eb8fb46a3a59f91a2

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