botasaurus_requests is a fork of the requests library with the playwright dependencies removed.
Project description
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 botasaurus_requests import request
response = request.get(
"https://www.g2.com/products/omkar-cloud/reviews",
headers={
"Referer": "https://www.google.com/",
},
)
print(response.status_code)
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file botasaurus_requests-4.0.26.tar.gz
.
File metadata
- Download URL: botasaurus_requests-4.0.26.tar.gz
- Upload date:
- Size: 37.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d00d264661f114b4c2c79f201358aadf20b550dfe3f570ce0b5e272fae6bf752 |
|
MD5 | 8e13d64ba21d68d685f3d2eccda9a743 |
|
BLAKE2b-256 | 2523df106e716218a28171c22279e52fad9636e7c496425b6c5d995c25a049d0 |