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.7.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for browserbase-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 163923490575c6dfeccd079a3e27c47fc3e051ab7d3888a04f631966b32de309 |
|
MD5 | 4a00844fe6b67942d0bf1a59a5268735 |
|
BLAKE2b-256 | 17d80e9bb2f2db3f87258edc54499117a52f754932589cf706b1ed80121e5186 |