Skip to content

Commit eb50282

Browse files
waleedlatif1claude
andcommitted
fix(brightdata): disable incompatible DuckDuckGo and Yandex URL params
DuckDuckGo kl expects region-language format (us-en) and Yandex lr expects numeric region IDs (213), not plain two-letter codes. Disable these URL-level params since Bright Data normalizes localization through the body-level country param. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent bf0286a commit eb50282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/tools/brightdata/serp_search.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ const SEARCH_ENGINE_CONFIG: Record<
2626
url: 'https://duckduckgo.com/',
2727
queryKey: 'q',
2828
numKey: '',
29-
langKey: 'kl',
29+
langKey: '',
3030
countryKey: '',
3131
},
3232
yandex: {
3333
url: 'https://yandex.com/search/',
3434
queryKey: 'text',
3535
numKey: 'numdoc',
3636
langKey: 'lang',
37-
countryKey: 'lr',
37+
countryKey: '',
3838
},
3939
} as const
4040

0 commit comments

Comments
 (0)