Skip to main content

Requests With High Availability Onion Router. For the filthiest web scrapers that have no time for rate-limits.

Project description

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.

Black GitHub

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

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

requests-whaor-0.2.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

requests_whaor-0.2.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file requests-whaor-0.2.0.tar.gz.

File metadata

  • Download URL: requests-whaor-0.2.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-7634-generic

File hashes

Hashes for requests-whaor-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b58649b53c9228a963ee8040a2937a1fb64234be672a1cba1f72d19cfeb74934
MD5 bfabd312e11728a505b8cc2a142a7b5a
BLAKE2b-256 1a6b62c33a58329788e78a25c567d8148234605e929303f768626f451a61d347

See more details on using hashes here.

File details

Details for the file requests_whaor-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: requests_whaor-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.2 Linux/5.4.0-7634-generic

File hashes

Hashes for requests_whaor-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31ec16d7d356e121b99484ca8d35ad63ae7dadfab952a540908b4581123d6588
MD5 ef8f07692006e7b89bdaf6138aa69f67
BLAKE2b-256 af1e50b2aae1567aa38a8ec83e48f7be30067a5b892e7b800d6d9a97ebf9877b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page