Browserbase Python SDK
Project description
Browserbase Python SDK
Example usage:
pip install browserbase
from browserbase import Browserbase
# Init the SDK
browserbase = Browserbase(os.environ["BROWSERBASE_KEY"])
# Load a webpage
result = browserbase.load("https://example.com")
# Load multiple webpages (returns iterator)
result = browserbase.load(["https://example.com"])
# Text-only mode
result = browserbase.load("https://example.com", text_content=True)
# Screenshot (returns bytes)
result = browserbase.screenshot("https://example.com", full_page=True)
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
browserbase-0.0.8.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for browserbase-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab4eda4d4c3b9eb92da109b109cd798137b2f797764ddcaeab31bb95c0539a23 |
|
MD5 | 9fc3ba78359ad3b57756411297348833 |
|
BLAKE2b-256 | ec02483a12a199983630ec719d4c88124f03f9e52c1a0f3d43483c1f6a43a95a |