@@ -62,6 +62,7 @@ Modern async-first Python SDK for [Bright Data](https://brightdata.com) APIs wit
6262### 🏗️ ** Core Features**
6363- 🚀 ** Async-first architecture** with sync wrappers for compatibility
6464- 🎨 ** Dataclass Payloads** - Runtime validation, IDE autocomplete, helper methods
65+ - 📝 ** Markdown Output** - Export results as GitHub-flavored markdown tables
6566- 🌐 ** Web scraping** via Web Unlocker proxy service
6667- 🔍 ** SERP API** - Google, Bing, Yandex search results
6768- 📦 ** Platform scrapers** - LinkedIn, Amazon, ChatGPT, Facebook, Instagram
@@ -460,10 +461,11 @@ asyncio.run(scrape_multiple())
460461## 🆕 What's New in v2 2.0.0
461462
462463### 🆕 ** Latest Updates (December 2025)**
464+ - ✅ ** Markdown Output Format** - NEW! Export results as GitHub-flavored markdown
463465- ✅ ** Amazon Search API** - NEW parameter-based product discovery with correct dataset
464466- ✅ ** LinkedIn Job Search Fixed** - Now builds URLs from keywords internally
465467- ✅ ** Trigger Interface** - Manual trigger/poll/fetch control for all platforms
466- - ✅ ** 29 Sync Wrapper Fixes** - All sync methods work (scrapers + SERP API )
468+ - ✅ ** 30 Sync Wrapper Fixes** - ALL sync methods work (scrapers + SERP + generic )
467469- ✅ ** Batch Operations Fixed** - Returns List[ ScrapeResult] correctly
468470- ✅ ** Auto-Create Zones** - Now enabled by default (was opt-in)
469471- ✅ ** Improved Zone Names** - ` sdk_unlocker ` , ` sdk_serp ` , ` sdk_browser `
@@ -656,9 +658,11 @@ result.elapsed_ms() # Total time in milliseconds
656658result.get_timing_breakdown() # Detailed timing dict
657659
658660# Serialization
659- result.to_dict() # Convert to dictionary
660- result.to_json(indent = 2 ) # JSON string
661- result.save_to_file(" result.json" ) # Save to file
661+ result.to_dict() # Convert to dictionary
662+ result.to_json(indent = 2 ) # JSON string
663+ result.to_markdown() # GitHub-flavored markdown (NEW!)
664+ result.save_to_file(" result.json" ) # Save as JSON
665+ result.save_to_file(" result.md" , format = " markdown" ) # Save as markdown (NEW!)
662666```
663667
664668---
@@ -728,6 +732,9 @@ brightdata scrape amazon products "https://amazon.com/dp/B123" --output-format p
728732
729733# Minimal format - Just the data, no metadata
730734brightdata scrape amazon products " https://amazon.com/dp/B123" --output-format minimal
735+
736+ # Markdown format - GitHub-flavored tables (NEW!)
737+ brightdata scrape amazon products " https://amazon.com/dp/B123" --output-format markdown
731738```
732739
733740#### Generic Scraper Response Format (` --response-format ` )
@@ -749,6 +756,57 @@ brightdata scrape generic "https://example.com" \
749756 --output-format pretty
750757```
751758
759+ #### Markdown Output Format (NEW!)
760+
761+ Export results as GitHub-flavored markdown tables - perfect for reports and documentation:
762+
763+ ``` bash
764+ # CLI: Markdown output
765+ brightdata search google " python tutorial" --output-format markdown
766+
767+ # Save to file
768+ brightdata search google " python tutorial" \
769+ --output-format markdown \
770+ --output-file report.md
771+ ```
772+
773+ ** SDK: Markdown methods**
774+
775+ ``` python
776+ from brightdata import BrightDataClient
777+
778+ client = BrightDataClient()
779+ result = client.search.google(query = " python tutorial" , num_results = 5 )
780+
781+ # Generate markdown
782+ md = result.to_markdown()
783+ print (md)
784+
785+ # Save as markdown
786+ result.save_to_file(" report.md" , format = " markdown" )
787+ ```
788+
789+ ** Example Output:**
790+
791+ ``` markdown
792+ # Result: ✅ Success
793+
794+ ## Metadata
795+
796+ | Field | Value |
797+ |-------|-------|
798+ | Cost | $0.0010 USD |
799+ | Time | 1234.56ms |
800+
801+ ## Data
802+
803+ | position | title | url |
804+ |----------|-------|-----|
805+ | 1 | The Python Tutorial | https://docs.python.org/3/tutorial/ |
806+ | 2 | Python Tutorial - W3Schools | https://www.w3schools.com/python/ |
807+ | 3 | Learn Python | https://www.learnpython.org/ |
808+ ```
809+
752810---
753811
754812## 🐼 Pandas Integration
0 commit comments