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.7.tar.gz
(41.8 kB
view hashes)
Close
Hashes for botasaurus_requests-4.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2e42e527f827684c1f80182459803a8f8823aa4b675ad6d4cedfce9709b04f |
|
MD5 | e423965de0ace99ad8b004f42d29cf04 |
|
BLAKE2b-256 | f4617a96a1015aea85e93b2c3a3d4e689857659ac076ac8d868d7494c68c115f |