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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stemquests-1.0.1.tar.gz.
File metadata
- Download URL: stemquests-1.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bc228f2b8c3f5471c7ea590f2aa7eed0ce3df15dfad65e44aaee0f065ec3568
|
|
| MD5 |
b01d707038fee928315f3a0643e1d3b1
|
|
| BLAKE2b-256 |
a962c369942a1830f50dfe5895220caef8aa54006e8bc8a465cf5dc2a6df14e5
|
File details
Details for the file stemquests-1.0.1-py3-none-any.whl.
File metadata
- Download URL: stemquests-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7131823725ba82df56a87aea7556ec19124da2d99e5547c9c2476d167cdcd011
|
|
| MD5 |
0e5353b6e66e1aa54bfde572313882cd
|
|
| BLAKE2b-256 |
6f93a4345e80f0a8b2106dab75d54856ee8207ac0283c67d92912926aa67418c
|