Uh oh!
There was an error while loading. Please reload this page.
fix(brightdata): align integration with live API docs, add markdown/mode/error-report support - #5470
Conversation
…ode/error-report support
- fix Discover numResults docs (max 20, not 1000) and contentFormat value ("md" not "markdown", which the API always rejected)
- add Discover mode param (standard/deep/fast/zeroRanking)
- add markdown output support to Web Unlocker scrape_url via data_format
- add include_errors support to scrape_dataset, matching sync_scrape
- add .trim() on datasetId in scrape_dataset/sync_scrape URLs
- add wandConfig on complex fields, tighten block output descriptionsThe latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Scrape URL gains an advanced Convert To option that maps to Web Unlocker The workflow UI adds Reviewed by Cursor Bugbot for commit aef2da2. Configure here. |
Uh oh!
There was an error while loading. Please reload this page.
…r advanced params
Greptile flagged that mode shipped with a non-empty default ('standard'),
causing it to be sent on every Discover call unlike the sibling dataFormat
field which uses an empty/None default and only sends when the user opts in.
Aligns mode with that same pattern.waleedlatif1
commented
Jul 7, 2026
@greptile review |
waleedlatif1
commented
Jul 7, 2026
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit aef2da2. Configure here.
Summary
modeparam (standard/deep/fast/zeroRanking) for search depth/ranking controlscrape_urlviadata_formatinclude_errorssupport toscrape_dataset, matching existingsync_scrapebehavior.trim()ondatasetIdin scrape_dataset/sync_scrape URLs to guard against copy-paste whitespacewandConfigon complex fields, tightened block output descriptionsFull re-validation against Bright Data's live OpenAPI specs (Web Unlocker, SERP, Discover, Datasets v3) confirms every tool is aligned field-for-field. No backward-incompatible changes — the two corrected values were never valid API inputs, so no working workflow could have depended on them.
Type of Change
Testing
Tested manually — validated every tool against Bright Data's live docs/OpenAPI specs and re-verified with 5 independent verification passes (web-unlocker/serp, discover, datasets-v3, block wiring/registry, lint/typecheck/diff review).
bunx biome checkclean,bunx tsc --noEmitclean (exit 0).Checklist