Overview
Integration details
| Class | Package | Serializable | JS support | Version |
|---|---|---|---|---|
| BrightDataWebScraperAPI | langchain-brightdata | ✅ | ❌ |
Tool features
| Native async | Returns artifact | Return data | Pricing |
|---|---|---|---|
| ❌ | ❌ | 웹사이트의 구조화된 데이터 (Amazon 제품, LinkedIn 프로필 등) | Bright Data 계정 필요 |
Setup
이 integration은langchain-brightdata package에 포함되어 있습니다.
Instantiation
여기서는 BrightDataWebScraperAPI tool의 인스턴스를 생성하는 방법을 보여줍니다. 이 tool을 사용하면 Bright Data의 Dataset API를 통해 Amazon 제품 상세 정보, LinkedIn 프로필 등 다양한 웹사이트에서 구조화된 데이터를 추출할 수 있습니다. 이 tool은 인스턴스 생성 시 다양한 parameter를 받습니다:bright_data_api_key(필수, str): 인증을 위한 Bright Data API key입니다.dataset_mapping(선택, Dict[str, str]): dataset 유형을 해당 Bright Data dataset ID에 매핑하는 dictionary입니다. 기본 매핑에는 다음이 포함됩니다:- “amazon_product”: “gd_l7q7dkf244hwjntr0”
- “amazon_product_reviews”: “gd_le8e811kzy4ggddlq”
- “linkedin_person_profile”: “gd_l1viktl72bvl7bjuj0”
- “linkedin_company_profile”: “gd_l1vikfnt1wgvvqz95w”
Invocation
Basic Usage
Advanced Usage with Parameters
Customization Options
BrightDataWebScraperAPI tool은 커스터마이징을 위한 여러 parameter를 받습니다:| Parameter | Type | Description |
|---|---|---|
url | str | 데이터를 추출할 URL |
dataset_type | str | 사용할 dataset 유형 (예: “amazon_product”) |
zipcode | str | 위치별 데이터를 위한 선택적 우편번호 |
Available Dataset Types
이 tool은 구조화된 데이터 추출을 위해 다음 dataset 유형을 지원합니다:| Dataset Type | Description |
|---|---|
amazon_product | Amazon 제품의 상세 데이터 추출 |
amazon_product_reviews | Amazon 제품 리뷰 추출 |
linkedin_person_profile | LinkedIn 개인 프로필 데이터 추출 |
linkedin_company_profile | LinkedIn 회사 프로필 데이터 추출 |
Use within an agent
API reference
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.