Skip to main content

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 random_header_generator_compat 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 for creating hrequests.

Metadata

Release files for random-header-generator-compat 4.0.40

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for random-header-generator-compat 4.0.40
File Size Uploaded
random_header_generator_compat-4.0.40.tar.gz 14.4 kB Details

Release files / random_header_generator_compat-4.0.40.tar.gz

Download URL random_header_generator_compat-4.0.40.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
771ed8c926df6b5e1da57e806fa8b2f1bb5da3dd48180925221abb5ed505ae05
BLAKE2b-256 checksum
How to use checksums
32de86a265679fcebc328a268672503ea5d837be4d84464815d751413e00c0c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

4.0.40 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page