Botasaurus Requests
botasaurus-requests is a fork of the hrequests library, featuring the following updates:
- Removal of the playwright dependencies, to make it more lightweight.
- Bug fixes to ensure smooth execution on Windows, eliminating runtime errors.
- Addition of the Google Referer header in the get method to make requests more humane.
Installation
pip install botasaurus-requests
Usage
from random_header_generator_compat import request
response = request.get(
"https://www.g2.com/products/omkar-cloud/reviews",
headers={
"Referer": "https://www.google.com/",
},
)
print(response.status_code)
Credits
Metadata
Release files for random-header-generator-compat 4.0.40
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| random_header_generator_compat-4.0.40.tar.gz | 14.4 kB | Details |
Release files / random_header_generator_compat-4.0.40.tar.gz
| Download URL | random_header_generator_compat-4.0.40.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
771ed8c926df6b5e1da57e806fa8b2f1bb5da3dd48180925221abb5ed505ae05
|
|
BLAKE2b-256 checksum How to use checksums |
32de86a265679fcebc328a268672503ea5d837be4d84464815d751413e00c0c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.7
|