An anonymizing tool to be used for api calls.
- tor
- pip install -r requirements.txt
- pip install requests_anonymizer
The torsocks proxy must be running on port 9050, start it with the command:
service tor start
orsystemctl start tor
You can use it as:
# Doing a simple GET request:
anonymizer.get(url='https://httpbin.org/get?arg1=123&arg2=456').text
# Doing a simple POST request:
anonymizer.post(url='https://httpbin.org/post', data={'arg1':'123','arg2':'456'}).text
This tool is made for test purposes.