Skip to content

feat: add URL content extraction via extract() method#440

Merged
deedy5 merged 2 commits into
mainfrom
dev
Mar 27, 2026
Merged

feat: add URL content extraction via extract() method#440
deedy5 merged 2 commits into
mainfrom
dev

Conversation

@deedy5

@deedy5 deedy5 commented Mar 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add DDGS.extract(url, fmt) to fetch and extract content from any URL
  • Leverage primp's built-in HTML→text conversions (text_markdown, text_plain, text_rich) — no extra dependencies
  • Lazy-loaded @property on Response for text conversions — zero overhead on existing search operations
  • Exposed via all interfaces: Python API, CLI, FastAPI endpoints, MCP tool

@deedy5 deedy5 merged commit 5bfdaa9 into main Mar 27, 2026
0 of 12 checks passed
@deedy5 deedy5 deleted the dev branch March 27, 2026 11:57
@deedy5 deedy5 mentioned this pull request Mar 28, 2026
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