requests-whaor [ri-kwests hawr]
Requests + Docker + HAproxy + Tor
Requests With High Availability Onion Router. For the filthiest web scrapers that have no time for rate-limits.
Overview
requests-whaor proxies GET requests through a local Docker network of TOR circuits. It takes care of starting and stopping a pool of TOR proxies behind an HAproxy load balancer, which acts as a round robin reverse proxy network. This will give each request a new IP address. If you start having issues with the initial pool of IPs, requests-whaor can gather a new pool of IP addresses by restarting all TOR containers.
Install with pip
pip install requests-whaor
Install with Poetry
poetry add requests-whaor
>> Quickstart / Docs <<
Projects to highlight.
Useful Docker commands.
If things get out of hand you may need these commands for debugging or killing containers.
docker ps -q --filter ancestor=osminogin/tor-simple | xargs -L 1 docker logs --follow
docker ps -q --filter ancestor=osminogin/haproxy | xargs -L 1 docker logs --follow
docker stop $(docker ps -q --filter ancestor=osminogin/tor-simple)
docker stop $(docker ps -q --filter ancestor=haproxy)
docker network rm $(docker network ls -q -f name=whaornet)
TODO
- Testing.
- More request methods if requested.
- Options for using different Tor containers.
- Options for different load balancer containers.
Contact Information
Telegram = Twitter = Tradingview = Discord = @dgnsrekt
Email = dgnsrekt@pm.me
Metadata
Release files for requests-whaor 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| requests-whaor-0.2.1.tar.gz | 11.3 kB | Without provenance | Details for requests-whaor-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| requests_whaor-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for requests_whaor-0.2.1-py3-none-any.whl |
Total release size: 24.4 kB
Release files / requests-whaor-0.2.1.tar.gz
| Download URL | requests-whaor-0.2.1.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af132def10869f779c0c11fde2aed9da68416b4dba33f89242471dc1e37027d0
|
|
BLAKE2b-256 checksum How to use checksums |
84014cce5586e008b2812ef6d1951e7faf0b41130376835aafa5489788f539b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-7634-generic
|
Release files / requests_whaor-0.2.1-py3-none-any.whl
| Download URL | requests_whaor-0.2.1-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2982153a6125a61d3824f7d72f4bbc080800a9d228e7a01befdf80f7e66c0085
|
|
BLAKE2b-256 checksum How to use checksums |
a3bb266ae8273263d912bc132dea10ae3a01dcd2950b1ead05cd6134506f6715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-7634-generic
|
Security for requests-whaor 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.