Skip to content

fix(base): remove per-element strip in extract_results - #450

Merged
deedy5 merged 1 commit into
mainfrom
dev
Apr 14, 2026
Merged

deedy5 merged 1 commit into
mainfrom
dev

Conversation

@deedy5

@deedy5 deedy5 commented Apr 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

@deedy5
deedy5 merged commit 49c79d6 into main Apr 14, 2026
12 checks passed
@deedy5
deedy5 deleted the dev branch April 14, 2026 06:42
AlexThunder01 added a commit to AlexThunder01/ARGOS-2 that referenced this pull request Jul 10, 2026
â€Ķacing

The garbled whitespace in web_search results ("is\$63,820.47 USDwith",
"USDollar") was a known bug in ddgs, fixed upstream in 9.13.1 ("remove
per-element strip in extract_results", deedy5/ddgs#450) — the library was
stripping each extracted HTML text fragment individually before joining
them, dropping the separating space wherever a fragment boundary and a
whitespace-only gap coincided.

A local regex-based workaround was tried and reverted earlier (too many
false positives on genuinely ambiguous concatenations). This is the real
fix: verified the upgrade resolves the reported cases directly, with no
workaround code needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant