Skip to main content

Proxer - get a free working proxy simply and free of charge

Project description

Proxer

GPT 4 Private



The Proxer class provides methods to retrieve, validate, and save proxies.

Features

  • Huge proxy database
  • Parsing of new available proxies (with uniqueization function)
  • You can use your own proxy database
  • Cleaning of database, working proxies, and general proxy list
  • Checking proxies for performance, using popular sites giants for verification

Documentation

Read Documentation

Steps

Install

Copy repository

git clone https://github.com/ssshipilo/Proxer

Dependency installation

pip install -r requirements.txt

OR

Install library

pip install Proxer

Starting Proxer

Import the library into your project, and initialize the Proxer class, sample code to get 5 working proxies

import Proxer

proxy = Proxer(file_path_output=os.path.join(os.getcwd(), "output.txt"), file_path_save=os.path.join(os.getcwd(), "save.txt"))
result = proxy.get(5)
print(result)

Result:

Result Proxer

Initialization

proxy = Proxer(file_path_output="path_to_output_file", file_path_save="path_to_save_file")

path must be absolute file_path_output: path to the file where the list of sparse proxies will be saved. file_path_save: path to the file where the list of working proxies will be saved.


Methods

parse()

Parsing of popular proxy providers:

They may be added over time, or maybe they already are.

Arguments: path: path to the file where the proxy list will be written. By default - the path from file_path_output. returned_array: whether to return the array of sparse proxies. By default - False.


check_proxy()

Checking the proxy to make sure it works.

Arguments: proxy: proxy to check. _class: whether to save the working proxy to a file. The default is False.


update_db_proxy()

Updating the database of working proxies.

Arguments: path: (optional) - path to the list of sparser proxies file: True - from your file. The default is False. Make parsing of known services with proxy


get()

Get a working proxy.

Arguments: count: number of required proxies. The default is 1.


clear_db()

Cleaning databases, verified and unverified proxies.

Arguments: mode: cleaning mode. Can be "output" (unchecked proxies) or "save" (checked proxies). The default is None (clearing both databases). path_output: path to the file with unchecked proxies. path_save: path to the file with verified proxies.

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

Proxer-1.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distributions

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

Proxer-1.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

Proxer-1.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file Proxer-1.2.tar.gz.

File metadata

  • Download URL: Proxer-1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for Proxer-1.2.tar.gz
Algorithm Hash digest
SHA256 93d190b53dd779adb732a70444777a2d3fb23234d226c80c3c85cf30c4ea30ea
MD5 6723cdbfa6d97f9b24489d14b16a171a
BLAKE2b-256 b97e5a6481d10c5e663041e9ff530c7d4820b783215d457e50e9f2cb36c54b13

See more details on using hashes here.

File details

Details for the file Proxer-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: Proxer-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for Proxer-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f3b3f580447645256d18b05e3e47644efab37585d1c50919093d577bc1a2901
MD5 01f6191ef840dbd85a67fa327bcbe3b7
BLAKE2b-256 5bd5916c3d48802d3cc5183e9204d80347d841bec1d58226b1ad6ecdc0fe245b

See more details on using hashes here.

File details

Details for the file Proxer-1.2-py3-none-any.whl.

File metadata

  • Download URL: Proxer-1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for Proxer-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bac414f2bc76b801c6d815ac4c34e1b7a77ab6b727d17c34faed2bd63cdde158
MD5 8350c2b80a77ab90cc709dd8df4263f5
BLAKE2b-256 4af628a7da24482c5c5a7697fcea2acac696bb462e9505354ebeb6de45ead457

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