Skip to main content

Protatoquests (Proxy Rotation Requests)

PyPI Downloads Py versions


Automatic proxy rotation for anonymous web requests.


The intended usage is to by-pass server's IP blocking by using a pool of free proxies to perform requests and web scraping. It's important to note that using anonymous proxies is risky, unsafe and will cause credentials leaks.

Installation

pip install protatoquests

Usage

import requests
import protatoquests

# this one will contact the server directly
response = requests.get("https://google.com")
# this one will contact the server using an anonymous proxy 
response = protatoquests.get("https://google.com")

Considerations

  1. The library gets socks5 free proxies from https://advanced.name/freeproxy. It tries to use the first proxy available, if it fails, it tries the next one; therefore the latency will be higher than using a single proxy or no proxy at all.
  2. The library API is intended as a drop-in replacement for the requests library, although not all the methods are implemented.

Contributing

Contributions to the GitHub repository are welcome! Please open a PR with your changes.

Metadata

Release files for protatoquests 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protatoquests 1.0.2
File Size Uploaded
protatoquests-1.0.2.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for protatoquests 1.0.2
File Interpreter ABI Platform
protatoquests-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / protatoquests-1.0.2.tar.gz

Download URL protatoquests-1.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1b9628742a30f6d0955b0e45ec3ac99e676324a5943c75b6d93be61c1ce73692
BLAKE2b-256 checksum
How to use checksums
f04b6d6849c891c4f57cc2bcbf9f4ffa8d065b90c037df06080b40c7e98b4095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / protatoquests-1.0.2-py3-none-any.whl

Download URL protatoquests-1.0.2-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a263ee4401301803cba6e8255e2a810f5ce21ae6d84855a33fb4536ff065a30a
BLAKE2b-256 checksum
How to use checksums
da68202621a3db28a02dca5843335b5af0d952b72dac0ffd78f7586fe0442526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page