Skip to main content

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

Kudos to daijro for creating hrequests.

Project details


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.37.tar.gz (37.7 kB view details)

Uploaded Source

File details

Details for the file botasaurus_requests-4.0.37.tar.gz.

File metadata

  • Download URL: botasaurus_requests-4.0.37.tar.gz
  • Upload date:
  • Size: 37.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for botasaurus_requests-4.0.37.tar.gz
Algorithm Hash digest
SHA256 33b0b4c134301a6ea0bb1e28568b484600e0b871e1a3ca7242d4c406fd452a86
MD5 96e9a699d90742c4a5ce16fc5c7f7029
BLAKE2b-256 8442c80abb6fcc341000bf0d8cdb59eb0dabaa40bbadd3413c644758b76a23d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page