Skip to main content

A utility to get and filter free proxies

Project description

proxygetter

Description

proxygetter is a Python library that provides a fast and customizable way to scrape, filter, and manage proxies. It's powered by asyncio and aiohttp to validate proxies asynchronously. Originally designed to scrape from sslproxies.org, it now supports customizable sources and multiple filters.

Installation

Install the package via pip:

pip install proxygetter

Features

Proxy Management

Manage your proxies with ease using the ProxyManager class.

from proxygetter import ProxyManager
manager = ProxyManager()

Advanced Filters

Get proxies using advanced filters like country code, anonymity, https support, Google compatibility, and last checked time.

proxies = manager.get_proxies(country_code='US', anonymity='elite proxy', https=True, google=True, last_checked_max=600)

Fetch a Random Proxy

You can fetch a random proxy based on specified filters.

proxy = manager.get_random_proxy(country_code='US', https=True)

Proxy Information

Access details about each proxy through the Proxy class.

proxy = proxies[0]
print(proxy.get_requests_format())
print(proxy.get_selenium_format())

Environment Configuration

Configure default user agent and timeout using environment variables.

export PROXY_URL_CHECKER_USER_AGENT=your_user_agent
export PROXY_URL_CHECKER_TIMEOUT=your_timeout_value

License

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

Upcoming Features

  • Proxy blacklisting
  • Additional proxy databases
  • Enhanced documentation and examples

Feel free to contribute or suggest improvements.

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

proxygetter-0.2.3.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

proxygetter-0.2.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file proxygetter-0.2.3.tar.gz.

File metadata

  • Download URL: proxygetter-0.2.3.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for proxygetter-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d18d40206220c573bc5033e2bbe0b0433e754b9d8a721930506f0d91c95fb643
MD5 2977971bbcfe1aeaae71dbdfdd8dca15
BLAKE2b-256 73a07770d3c515582b8c0ebc5d299e1e342649397dbee604b817ae2df415fc37

See more details on using hashes here.

File details

Details for the file proxygetter-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: proxygetter-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for proxygetter-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7efdac7064138c40464d1db38df0babed143682ceb8b39ddb92461ab8a5e5c26
MD5 c88300dfbe48dc312dc239c5f2504629
BLAKE2b-256 b256084a181eaf67440ab53806f55f24749fa5cc0d05caf84a7e771d497d7862

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