Dark web HTTP requests using Tor, a stem helper library.
Project description
stemquests
Python Requests and Stem helper for making HTTP requests over Tor.
Purpose
A Tor proxy and the Python requests package are difficult to work with. This package attempts to fix this issue by creating a module (TorInstance) that allows starting new Tor proxy processes using stem, then generating requests Sessions to send requests with.
Usage
Simply import TorInstance, create the object, then call tor.get_session() to get a new requests session!
from stemquests import TorInstance
tor = TorInstance()
session = tor.get_session()
print(session.get('https://check.torproject.org').text)
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
stemquests-1.1.1.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for stemquests-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d2993fcff1eb81594e44ea56c7016e897d807c508226792248d018493349c6 |
|
MD5 | d48d10f75652c65515dae29dba909e20 |
|
BLAKE2b-256 | ff15a952f1b5c52284ddb3d4c4e215029969123cb5d39c56c7e5ce19f312ab88 |