⚠️ Deprecated ⚠️

This feature is deprecated and will be removed in the future.

It is not recommended for use.

Import from "@langchain/community/document_loaders/web/browserbase" instead. This entrypoint will be removed in 0.3.0. Load pre-rendered web pages using a headless browser hosted on Browserbase.

Depends on @browserbasehq/sdk package. Get your API key from https://browserbase.com

Example

import { BrowserbaseLoader } from "langchain/document_loaders/web/browserbase";

const loader = new BrowserbaseLoader(["https://example.com"], {
apiKey: process.env.BROWSERBASE_API_KEY,
textContent: true,
});

const docs = await loader.load();

Param: urls

The URLs of the web pages to load.

Param: options

Browserbase client options.

Hierarchy (view full)

Implements

Constructors

Properties

Methods

Constructors

Properties

browserbase: default
options: BrowserbaseLoaderOptions
urls: string[]

Methods

Generated using TypeDoc