A powerful and lightweight Python library for making secure and reliable HTTP/TLS fingerprint requests.
Maintained. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity.
pip install wrapper-tls-requestsTLS Requests
TLS Requests is a powerful Python library for secure HTTP requests, offering browser-like TLS client, fingerprinting, anti-bot page bypass, and high performance.
Installation
To install the library, you can choose between two methods:
1. Install via PyPI:
pip install wrapper-tls-requests
2. Install via GitHub Repository:
pip install git+https://github.com/thewebscraping/tls-requests.git
Quick Start
Start using TLS Requests with just a few lines of code. It automatically synchronizes headers based on your chosen browser identifier:
import tls_requests
# The library automatically injects matching User-Agent and Sec-CH-UA headers
r = tls_requests.get("https://httpbin.org/headers", client_identifier="chrome_133")
r.json()["headers"]["User-Agent"]
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
