v0.2.0
Highlights
This release expands the Web Scraper API with 44 supported datasets (up from 4), adds zone configuration for all tools, and includes several bug fixes for improved reliability.
What's New
Added
-
40 new datasets for Web Scraper API covering:
- E-commerce: Walmart, eBay, Home Depot, Zara, Etsy, Best Buy
- Social Media: Instagram (profiles, posts, reels, comments), Facebook (posts, marketplace, reviews, events), TikTok (profiles, posts, shop, comments), YouTube (profiles, videos, comments), X/Twitter, Reddit
- Business: Crunchbase, ZoomInfo, LinkedIn (job listings, posts, people search)
- Other: Google Maps reviews, Google Shopping, Google Play Store, Apple App Store, GitHub, Yahoo Finance, Reuters, Zillow, Booking.com
-
Zone configuration for SERP API - set custom zones at initialization or per-request
serp = BrightDataSERP(zone="my_custom_zone") # Or per-request serp.invoke({"query": "AI news", "zone": "different_zone"})
-
New input parameters for specialized datasets:
keywordfor Amazon product searchfirst_name,last_namefor LinkedIn people searchnum_of_reviewsfor Facebook company reviewsnum_of_commentsfor YouTube commentsdays_limitfor Google Maps reviews
Fixed
- JSON parsing error when API returns newline-delimited JSON (NDJSON) - now returns raw text for proper handling
- API key logging - removed debug print statement that exposed credentials
- Empty parameters - filter out
Noneand empty string values from API requests - Async polling - handle 202 responses with
starting,building,runningstatus during data collection
Changed
- Package folder renamed from
langchain-brightdatatolangchain_brightdatafor proper Python imports - Return type for dataset API changed from parsed JSON to raw text to handle NDJSON responses
- Improved dataset type validation with
Literaltypes for better LLM tool schema discovery