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.27.tar.gz
(37.0 kB
view hashes)
Close
Hashes for botasaurus_requests-4.0.27.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f5cf582118cd4d0f73c39030183373045013307b36d3b8b3fcf3a89caefaed5 |
|
MD5 | cf5016a2751898ac8f5c16ef4725b898 |
|
BLAKE2b-256 | 20b7e3256600a0b065ad9e1730062a6277df29c7838ae2e49b44a33b1e01c893 |