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.5.tar.gz
(42.0 kB
view details)
File details
Details for the file botasaurus_requests-4.0.5.tar.gz
.
File metadata
- Download URL: botasaurus_requests-4.0.5.tar.gz
- Upload date:
- Size: 42.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d911354e995c1fd1b1f767a69149fdcad25efb1c180462ab8a7a40ee85f20740 |
|
MD5 | 1040bb5df23bd89170f61f3ad2e638e6 |
|
BLAKE2b-256 | b0df0e0b8fdc7b55c3c6611a425de490f1ca6dd072dbb0ce6f44b1452c98eb31 |