https://github.com/omkarcloud/botasaurus-requests
botasaurus-requests is a fork of the hrequests library with the playwright dependencies removed.
https://github.com/omkarcloud/botasaurus-requests
Last synced: about 1 year ago
JSON representation
botasaurus-requests is a fork of the hrequests library with the playwright dependencies removed.
- Host: GitHub
- URL: https://github.com/omkarcloud/botasaurus-requests
- Owner: omkarcloud
- License: apache-2.0
- Created: 2024-05-16T07:07:55.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T09:04:55.000Z (over 1 year ago)
- Last Synced: 2025-04-16T13:58:05.685Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 9
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Botasaurus Requests
botasaurus-requests is a fork of the [hrequests](https://github.com/daijro/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
```bash
pip install botasaurus-requests
```
## Usage
```python
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
Kudos to [daijro](https://github.com/daijro) for creating [hrequests](https://github.com/daijro/hrequests).