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
botasaurus_requests-4.0.28.tar.gz
(37.1 kB
view hashes)
Close
Hashes for botasaurus_requests-4.0.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd1a61fed121725e06982c6b6e4087860425ec049995e023bf695779bd78395 |
|
MD5 | b6c52192ae8f6def6b825ecd46ebf6b0 |
|
BLAKE2b-256 | 4ce83538689209a4d209dfa80635fad4c73e3bfe948d427cdabc5a6d9603dfae |