Skip to main content

A fork of [HumanCursor](https://github.com/riflosnake/HumanCursor) which brings human-like mouse movements to Botasaurus.

Project description

Botasaurus Humancursor

A fork of HumanCursor which brings human-like mouse movements to Botasaurus.

Description

Botasaurus Humancursor is a Python library that enables human-like mouse movements in Botasaurus. It's designed to help you create more natural and less detectable web automation by simulating human-like cursor movements, clicks, and interactions.

This library is a fork of the original HumanCursor project, adapted to work with the Botasaurus driver instead of Selenium.

Features

  • Designed specifically to bypass security measures and bot detection software.
  • Human-like mouse movements using Bezier curves
  • Randomized movement patterns to avoid detection
  • Support for clicking, dragging, and scrolling with human-like behavior

Installation

pip install botasaurus-humancursor

Usage

Basic Example

TODO: Add example

from botasaurus_driver import Driver
from humancursor_botasaurus import WebCursor

# Initialize the Botasaurus driver
driver = Driver(headless=False)

# Navigate to a website
driver.get("https://www.example.com")

# Initialize HumanCursor
cursor = WebCursor(driver)

# Find an element
button = driver.select("button.login")

# Move to the element and click it with human-like movement
cursor.click_on(button)

# Close the driver
driver.close()

Thank You

  • Kudos to Flori Batusha for creating HumanCursor. Building HumanCursor requires PhD-level mathematical expertise, and Flori's brilliance shines through in this remarkable project.
  • Deepest Gratitude to Ambri for creating a fork of HumanCursor specifically tailored for Botasaurus.

License

This project is licensed under the MIT License

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_humancursor-4.0.76.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file botasaurus_humancursor-4.0.76.tar.gz.

File metadata

  • Download URL: botasaurus_humancursor-4.0.76.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.7

File hashes

Hashes for botasaurus_humancursor-4.0.76.tar.gz
Algorithm Hash digest
SHA256 5f1078d1d24d60435ecdfc0c0b5e4c4715f621e9e07e5b74b2eb175d51e7c11d
MD5 85a65cf6bd5134dd2c5a2e720bcfee5f
BLAKE2b-256 fdea56349e92cca15f5529b5fd0cfb1fd8e63ef14bbedb56e6b722270ebb3e19

See more details on using hashes here.

Supported by

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