{"id":17761359,"url":"https://github.com/dgnsrekt/requests-whaor","last_synced_at":"2025-03-15T11:31:49.142Z","repository":{"id":57461379,"uuid":"294183866","full_name":"dgnsrekt/requests-whaor","owner":"dgnsrekt","description":"For the filthiest web scrapers that have no time for rate-limits.","archived":false,"fork":false,"pushed_at":"2020-10-11T21:01:54.000Z","size":23517,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T00:24:07.992Z","etag":null,"topics":["docker","haproxy","haproxy-docker","rate-limit","requests","tor","tor-proxy"],"latest_commit_sha":null,"homepage":"https://dgnsrekt.github.io/requests-whaor/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgnsrekt.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-09T17:34:19.000Z","updated_at":"2024-10-27T10:23:43.000Z","dependencies_parsed_at":"2022-09-17T08:00:19.127Z","dependency_job_id":null,"html_url":"https://github.com/dgnsrekt/requests-whaor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgnsrekt%2Frequests-whaor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgnsrekt%2Frequests-whaor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgnsrekt%2Frequests-whaor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgnsrekt%2Frequests-whaor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgnsrekt","download_url":"https://codeload.github.com/dgnsrekt/requests-whaor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243724966,"owners_count":20337655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","haproxy","haproxy-docker","rate-limit","requests","tor","tor-proxy"],"created_at":"2024-10-26T19:34:50.189Z","updated_at":"2025-03-15T11:31:49.136Z","avatar_url":"https://github.com/dgnsrekt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **requests-whaor** [[ri-kwests](https://www.dictionary.com/browse/requests) [hawr](https://www.dictionary.com/browse/whore)]\n\n[**Requests**](https://requests.readthedocs.io) **+** [**Docker**](https://www.docker.com/) **+** [**HAproxy**](http://www.haproxy.org/) **+** [**Tor**](https://www.torproject.org/)\n\n**Requests** **W**ith **H**igh **A**vailability **O**nion **R**outer. For the filthiest web scrapers that have no time for rate-limits.\n\n[![Black](https://img.shields.io/badge/code%20style-black-black?style=for-the-badge\u0026logo=appveyor)](https://github.com/psf/black)\n[![GitHub](https://img.shields.io/github/license/dgnsrekt/requests-whaor?style=for-the-badge)](https://raw.githubusercontent.com/dgnsrekt/requests-whaor/master/LICENSE)\n\n\n## Overview\n**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](https://dgnsrekt.github.io/requests-whaor/examples/basics/#example).\n\n## Install with pip\n```\npip install requests-whaor\n```\n\n## Install with [Poetry](https://python-poetry.org/)\n```\npoetry add requests-whaor\n```\n\n\n## [\u003e\u003e **Quickstart** / **Docs** \u003c\u003c](https://dgnsrekt.github.io/requests-whaor/quickstart)\n\n## Projects to highlight.\n* [**dperson's**](https://hub.docker.com/u/dperson) - [torproxy docker container](https://hub.docker.com/r/dperson/torproxy)\n* [**zet4's**](https://github.com/zet4) - [alpine-tor library](https://github.com/zet4/alpine-tor)\n* [torproject](https://www.torproject.org/)\n* [haproxy](https://hub.docker.com/_/haproxy)\n\n## Useful Docker commands.\n### If things get out of hand you may need these commands for debugging or killing containers.\n```\ndocker ps -q --filter ancestor=osminogin/tor-simple | xargs -L 1 docker logs --follow\n\ndocker ps -q --filter ancestor=osminogin/haproxy | xargs -L 1 docker logs --follow\n\ndocker stop $(docker ps -q --filter ancestor=osminogin/tor-simple)\n\ndocker stop $(docker ps -q --filter ancestor=haproxy)\n\ndocker network rm $(docker network ls -q -f name=whaornet)\n```\n\n## TODO\n* [ ] Testing.\n* [ ] More request methods if requested.\n* [ ] Options for using different Tor containers.\n* [ ] Options for different load balancer containers.\n\n## Contact Information\nTelegram = Twitter = Tradingview = Discord = @dgnsrekt\n\nEmail = dgnsrekt@pm.me\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgnsrekt%2Frequests-whaor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgnsrekt%2Frequests-whaor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgnsrekt%2Frequests-whaor/lists"}