Skip to main content

A simple package to verify http and https working proxies.

Project description

free_proxy_verifyer

free_proxy_verifyer is a Python library that allows you to verify whether a proxy is working or not. It checks the functionality of a given proxy by making requests to various proxy detection servers. This library is useful for anyone who needs to ensure the reliability of proxy for their applications.

Installation

You can install free_proxy_verifyer via pip:

pip install free_proxy_verifyer

or

pip install git+https://github.com/mominurr/free_proxy_verifyer.git

Usage

from free_proxy_verifyer import ProxyVerify

# Create an instance of ProxyVerify
checker = ProxyVerify()

# Define the proxy address to be verified
proxy = "37.187.17.89:3128"

# Verify the proxy
result = checker.verify_proxy(proxy=proxy)

# Print the result
print(result)  # True if the proxy is working, else False

How it Works

ProxyVerify works by randomly selecting proxy detection services from a predefined list and making requests through the provided proxy. If a response is received within the specified timeout and the status code is 200, it considers the proxy to be working.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or improvements, feel free to open an issue or create a pull request on GitHub.

License

This project is licensed under the MIT License - 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.

Source Distribution

free_proxy_verifyer-1.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

free_proxy_verifyer-1.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file free_proxy_verifyer-1.1.1.tar.gz.

File metadata

  • Download URL: free_proxy_verifyer-1.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for free_proxy_verifyer-1.1.1.tar.gz
Algorithm Hash digest
SHA256 da7baa65cc3d15092401768d0f8aba5876ac22ed1ec59bad7a496a2390a0d4d7
MD5 37aef6628c96e821be2bc935809fb24b
BLAKE2b-256 99fbaf9c7c510ae378a22d78f679ff61a47f1ddf0bd33c85e0e1a531e4c96299

See more details on using hashes here.

File details

Details for the file free_proxy_verifyer-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for free_proxy_verifyer-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4d00d99f00442d1bb9bbcb73fc47f0000d724a53c086614ee9f6666a5feaace4
MD5 f0cf8ead37b9d0fbfefb26fd3041a9d5
BLAKE2b-256 2de77dd5f22e15f9ecf09c6710ca92800fe56763e237f9e7ede5e40a45436df2

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