Class | Package | Serializable | JS support | Package latest |
---|---|---|---|---|
BrightDataWebScraperAPI | langchain-brightdata | ✅ | ❌ |
Native async | Returns artifact | Return data | Pricing |
---|---|---|---|
❌ | ❌ | Structured data from websites (Amazon products, LinkedIn profiles, etc.) | Requires Bright Data account |
langchain-brightdata
package.
bright_data_api_key
(required, str): Your Bright Data API key for authentication.dataset_mapping
(optional, Dict[str, str]): A dictionary mapping dataset types to their corresponding Bright Data dataset IDs. The default mapping includes:
Parameter | Type | Description |
---|---|---|
url | str | The URL to extract data from |
dataset_type | str | Type of dataset to use (e.g., “amazon_product”) |
zipcode | str | Optional zipcode for location-specific data |
Dataset Type | Description |
---|---|
amazon_product | Extract detailed Amazon product data |
amazon_product_reviews | Extract Amazon product reviews |
linkedin_person_profile | Extract LinkedIn person profile data |
linkedin_company_profile | Extract LinkedIn company profile data |