Bright Data Lowe's Price Tracker Python
미국의 주요 홈 임프루브먼트 리테일 체인인 Lowe's의 가격을 실시간으로 추적합니다. 시작하는 방법은 두 가지입니다: 완전 관리형 인텔리전스 플랫폼 또는 자체 파이프라인을 구축할 수 있는 셀프서비스 API.
**Bright Insights**는 Bright Data의 완전 관리형 리테일 인텔리전스 플랫폼입니다. scraper를 구축할 필요도, 인프라를 유지할 필요도 없습니다. 대시보드, 데이터 피드 또는 BI 도구로 바로 전달되는 구조화된 분석 준비 완료 가격 데이터만 있으면 됩니다.
팀이 Bright Insights를 선택하는 이유:
- 🚀 설정 불필요 - 즉시 사용할 수 있는 대시보드와 데이터 피드로 몇 분 안에 운영 시작
- 🤖 AI 기반 추천 - 대화형 AI 어시스턴트가 수백만 개의 데이터 포인트를 즉시 실행 가능한 인사이트로 전환
- ⚡ 실시간 모니터링 - 시간 단위부터 일 단위까지의 갱신 주기와 즉시 알림(email, Slack, webhook)
- 🌍 무제한 확장성 - 모든 웹사이트, 모든 지역, 모든 갱신 빈도 지원
- 🔗 플러그 앤 플레이 통합 - AWS, GCP, Databricks, Snowflake 등 지원
- 🛡️ 완전 관리형 - Bright Data가 스키마 변경, 사이트 업데이트, 데이터 품질을 자동으로 처리
주요 사용 사례:
- ✅ 모든 제품 카테고리에서 Lowe's 가격 모니터링
- ✅ 재고 수준 및 가용성 추적 실시간 지원
- ✅ 관심 있는 제품에 대한 가격 알림 설정
- ✅ MAP 정책 준수 여부를 모니터링하고 가격 위반 감지
- ✅ 경쟁사 프로모션 및 프로모션 동향 추적
- ✅ 정제되고 표준화된 데이터를 동적 가격 책정 알고리즘 또는 AI 모델에 직접 공급
월 250ドル부터 - 맞춤 견적 받기 →
직접 파이프라인을 구축하고 싶으신가요? Bright Data의 Web Scraper API는 프록시나 scraping 인프라를 관리하지 않고도 Lowe's 제품 데이터(가격, 재고 상태, 리뷰 등)에 프로그래밍 방식으로 접근할 수 있게 해줍니다.
- Python 3.9 이상
- Bright Data account (무료 체험 가능)
- Bright Data API token (발급 방법)
- Lowe's 제품용 Bright Data Web Scraper ID (Web Scrapers control panel에서 확인)
-
이 repository 복제
git clone https://github.com/bright-kr/lowes-price-tracker.git cd lowes-price-tracker -
의존성 설치
pip install -r requirements.txt
-
자격 증명 구성
.env.example을.env로 복사한 뒤 값을 입력하세요:cp .env.example .env
BRIGHTDATA_API_TOKEN=your_api_token_here BRIGHTDATA_DATASET_ID=your_dataset_id_here
Web Scraper ID 찾기 Bright Data Control Panel에 로그인한 다음 Web Scrapers로 이동하고, "Lowe's"를 검색한 뒤 Web Scraper ID를 복사하세요(형식:
gd_xxxxxxxxxxxx).
구조화된 가격 데이터를 가져오려면 Lowe's 제품 URL 목록을 전달하세요:
from price_tracker import track_prices urls = [ "https://www.lowes.com/pd/sample-product/1000123456", # Add more product URLs here ] results = track_prices(urls) for item in results: print(f"{item.get('title')} - {item.get('final_price', item.get('price'))} {item.get('currency', '')}")
또는 직접 실행:
python price_tracker.py
키워드 검색과 일치하는 제품을 찾습니다:
from price_tracker import discover_by_keyword results = discover_by_keyword("laptop", limit=50)
Lowe's 카테고리 페이지의 모든 제품을 수집합니다:
from price_tracker import discover_by_category results = discover_by_category( "https://lowes.com/category/example", limit=100, )
각 결과 레코드에는 다음 필드가 포함됩니다:
| Field | Description |
|---|---|
url |
제품 URL |
title |
제품명 |
brand |
브랜드 |
model_number |
모델 번호 |
sku |
SKU |
initial_price |
원래 가격 |
final_price |
현재 가격 |
currency |
통화 코드 |
discount |
할인 |
in_stock |
재고 상태 |
description |
제품 설명 |
images |
제품 이미지 |
timestamp |
수집 타임스탬프 |
[
{
"url": "https://www.lowes.com/pd/sample-product/1000123456",
"title": "Example Product Name",
"brand": "Example Brand",
"initial_price": 59.99,
"final_price": 44.99,
"currency": "USD",
"discount": "25%",
"in_stock": true,
"rating": 4.5,
"reviews_count": 1234,
"images": ["https://lowes.com/images/product1.jpg"],
"description": "Product description text...",
"timestamp": "2025年01月15日T10:30:00Z"
}
]trigger_collection() 함수는 데이터 수집을 제어하기 위한 선택적 파라미터를 지원합니다:
| Parameter | Type | Default | Description |
|---|---|---|---|
limit |
integer | - | 반환할 최대 레코드 수 |
include_errors |
boolean | true |
결과에 오류 리포트 포함 |
notify |
string (URL) | - | 스냅샷 준비 완료 시 호출할 webhook URL |
format |
string | json |
출력 형식: json, csv 또는 ndjson |
옵션 사용 예시:
from price_tracker import trigger_collection, get_results inputs = [{"url": "https://www.lowes.com/pd/sample-product/1000123456"}] snapshot_id = trigger_collection(inputs, limit=200, notify="https://your-webhook.com/hook") results = get_results(snapshot_id)
- 🌟 Lowe's Price Tracker - Bright Insights (Managed)
- 🔧 Lowe's Scraper API
- 📖 Bright Data Web Scraper API Documentation
- 🗄️ Web Scrapers Control Panel
- 🔑 How to get an API token
- 🌐 Bright Data Homepage
Bright Data로 구축 - 업계를 선도하는 웹 데이터 플랫폼.